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

Where in your code are you storing incoming msgs in the imu_msg, scan, msgr and msgl global variables?

The bodies of your callbacks are empty, so incoming msgs are never actually processed.


Also: is there any reason you cannot use rosbag itself? That would seem to already be capable of what you are showing here, but without any custom code.