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

Your main loop only calls getCommandMsg() once, on startup; and then you never update cmdMsg again.

You should try calling getCommandMsg() on every iteration of your main loop.