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

Do not change collections at runtime

Do not add/remove items to collections (List, Map, Set) during the control loop. Growing an ArrayList is extremely expensive.

← Do not use iteratorsDo not use the object versions of primitives (Double, Integer, Boolean, Long, Character, Byte, Float, Short) →
Realtime Controls
Docs
Quick StartSoftware Documentation
Community
GitHubFacebookTwitterYouTube
Copyright © 2018 IHMC Robotics