Skip to content

Fix/robot unit streaming

Fabian Reister requested to merge fix/robot-unit-streaming into master

described in https://git.h2t.iar.kit.edu/orga/software-organization/-/issues/258

Changes:

  • RobotUnit: new property RTLogging_LogAllMessages=false to only log newest message with the defined rate of the logging thread (usually 50-100Hz). If the computation takes too long, then the queue will be filled and the data in the RobotStateMemory will be outdated (sometimes even ~1 second!). By default, RTLogging_LogAllMessages such that this change is opt-in.
  • RobotStateMemory: using triple buffer for communication between robot unit reader (retrieves data from robot unit) and writer (commits data into memory)
Edited by Fabian Reister

Merge request reports