ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

About publishing via terminal (turtlebot)

asked 2015-02-12 08:21:01 -0600

pexison gravatar image

Hello, I was trying to move the turtlebot via terminal and my surprise was that this instruction is not moving the robot

$ rostopic pub -r 10 /cmd_vel geometry_msgs/Twist  '{linear:  {x: 0.1, y: 0.0, z: 0.0}, angular: {x: 0.0,y: 0.0,z: 0.0}}'

Before using this instrucction I used:

$ roscore

$ roslaunch turtlebot_bringup minimal.launch

So I think that maybe its a good idea try to use the name of the turtlebot before /cmd_vel but there is no turtlebot_node on the list of obtained using rosnode.

(with the teleop key works fine)

What can I do?

Thanks beforehand!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-02-12 08:40:15 -0600

pexison gravatar image

Using the topic /mobile_base/commands/velocity solved the problem

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-02-12 08:21:01 -0600

Seen: 425 times

Last updated: Feb 12 '15