Ask Your Question

Revision history [back]

In general, I would try to avoid using strings because you might run into problems because of number encoding and maybe truncated digits.

To fill the twist message, just set twist.linear.x to your linear velocity and twist.angular.z to your angular velocity.