The controller_manager publishes registered variables and execution statistics over specific ROS 2 topics.
Variable Introspection Topics
These topics publish the state of variables registered via REGISTER_ROS2_CONTROL_INTROSPECTION. They are published at the end of every update cycle if there is at least one subscriber.
~/introspection_data/full: Publishes the full data (names and values) in a single message. Best for command-line tracking or custom visualization tools.~/introspection_data/names: Publishes the names of registered variables. This is only published when variables are registered or unregistered.~/introspection_data/values: Publishes the values of the registered variables.
Performance Tip: For high-frequency data, use the names and values topics separately to minimize data transfer and storage overhead.
Execution Statistics Topics
These topics are used to monitor real-time loop behavior, such as execution time and periodicity of hardware read/write cycles and controller update cycles. This is critical for ensuring hardware meets strict real-time deadlines.
~/statistics/full: Full statistics data (names and values) in one message.~/statistics/names: Names of the statistics variables (published on registration/unregistration).~/statistics/values: Values of the statistics variables.
Note: A summary of these statistics is also published to the standard /diagnostics topic.