ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
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));