![]() |
ros2_control - rolling
|
Simple plugin that publishes a heartbeat message every second. More...
#include <heartbeat_publisher_plugin.hpp>


Public Member Functions | |
| bool | init (rclcpp::Node::SharedPtr node, const mjModel *model, mjData *data) override |
| Initialize the plugin. | |
| void | update (const mjModel *model, mjData *data) override |
| Update the plugin (called every simulation step) | |
| void | cleanup () override |
| Cleanup the plugin. | |
Simple plugin that publishes a heartbeat message every second.
|
overridevirtual |
Cleanup the plugin.
Implements mujoco_ros2_control_plugins::MuJoCoROS2ControlPluginBase.
|
overridevirtual |
Initialize the plugin.
Implements mujoco_ros2_control_plugins::MuJoCoROS2ControlPluginBase.
|
overridevirtual |
Update the plugin (called every simulation step)
Implements mujoco_ros2_control_plugins::MuJoCoROS2ControlPluginBase.