Without knowing more about your system (packages, real vs. simulated, topics, etc.) it's hard to give a precise answer. I'm guessing that the /cmd_vel_mux/input/teleop
topic takes Twist
messages which means that there isn't a separate topic for left and right motors (if that's what you're looking for). Here is the definition of a Twist
message
$ rosmsg show geometry_msgs/Twist
geometry_msgs/Vector3 linear
float64 x
float64 y
float64 z
geometry_msgs/Vector3 angular
float64 x
float64 y
float64 z
As you can see, there's linear
and angular
components to the message. The ones that are probably used are the linear.x
(forward/backward) and the angular.z
(rotate clockwise/counterclockwise). There is no component for individual wheel speeds (if that's what you're looking for). You can get around this by doing some math to determine the correct linear
/angular
component values and publish those values along the correct topic.