Realtime Controls

Realtime Controls

  • IHMC Home
  • All IHMC Docs
  • About IHMC

›Writing Real Time Control Code

Writing Real Time Control Code

  • Introduction
  • Preallocate everything
  • Do not use iterators
  • Do not change collections at runtime
  • Do not use the object versions of primitives (Double, Integer, Boolean, Long, Character, Byte, Float, Short)
  • Do not use locks

Introduction

Below is a collection of heuristics and rules that we have developed after spending a significant amount of time analyzing YourKit profiles of control loops while developing our custom Real Time threading implementation.

These are not the general IHMC style-guide, but rather apply to any code that may be called inside of an embedded control loop; anything that appears inside of a doControl() method or methods invoked from inside of doControl().

Preallocate everything →
Realtime Controls
Docs
Quick StartSoftware Documentation
Community
GitHubFacebookTwitterYouTube
Copyright © 2018 IHMC Robotics