![]() |
ros2_control - humble
|
Small snapshot of the state the hardware interface needs every control cycle. More...
#include <mujoco_simulation.hpp>
Small snapshot of the state the hardware interface needs every control cycle.
This data structure is much smaller than a full mjData copy, so publishing and copying it is also far cheaper, regardless of scene complexity. Refreshed by the physics loop after every step, immediately before that step's /clock tick, so a consumer woken by a clock tick sees state that is synchronous with (or newer than) that tick's sim time.