ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
It modifies currentVelocityCommand accordingly to the parameters passed to the function, but it doesn't actually publish anything, it just modifies the content of currentVelocityCommand. In my opinion, there must be somewhere else some code that really publishes currentVelocityCommand to some rostopic: you could publish currentVelocityCommand at a publishing rate suitable for your goal and modify from time to time its content with this function.