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

Based on your code, it's never going to send command messages. Only your default case sets "dirty" to true. That means that you will only issue commands if you reach the default case. And in the default case, speed and turn are zero, so multiplying speed and max_speed will always result in zero.