ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Might it have to do something with the fact that the msg is a pointer and in the example it's not?
In line 3 it creates the quat_msg, but it's not a pointer.
In callback messages you're always dealing with a pointer, have you tried sending it as a reference?