Ask Your Question

Revision history [back]

Converting to geometry_msgs/twist

So I have a question about sending velocity commands. I have a tcp interpreter that breaks down a normal tcp string with a regular expression and sends it as a ros string. I want it to publish a command velocity as a geometry_msgs/twist. My problem comes from the message type...

The recieved string is a linear velocity in m/sec and an angular velocity in rad/sec. How does one convert this to a Twist message?

thanks,

-Hunter A.

click to hide/show revision 2
retagged

updated 2012-07-26 05:28:32 -0600

joq gravatar image

Converting to geometry_msgs/twist

So I have a question about sending velocity commands. I have a tcp interpreter that breaks down a normal tcp string with a regular expression and sends it as a ros string. I want it to publish a command velocity as a geometry_msgs/twist. My problem comes from the message type...

The recieved string is a linear velocity in m/sec and an angular velocity in rad/sec. How does one convert this to a Twist message?

thanks,

-Hunter A.