ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

i find the solution. the problem was that my node was killed to close to the publish. the solution is to add sleep at the node class distractor or at the end of the main.

rclcpp::sleep_for(std::chrono::seconds(1));