Can't control the robot in gazebo

asked 2017-11-22 15:26:54 -0600

AssafZI gravatar image

updated 2017-11-23 02:19:32 -0600


I am not able to control the robot in gazebo.

trying to run:

roslaunch robotican_komodo komodo.launch gazebo:=true

rostopic pub /cmd_vel geometry_msgs/Twist -r 10 -- '[0.2, 0.0, 0.0]' '[0.0, 0.0, 0.6]'

The world and the robot model are loaded, and I can see that my command is successfully published to the cmd_vel topic.

When I select View->Wire-frame I can see that nothing is moving.

It’s happening on all robots that I’m trying to launch.

I'm running ROS Indigo on ubuntu14.04.01 trusty, gazebo 2.2.3.

What am I missing?


edit retag flag offensive close merge delete



It may be that robot is listening on a different topic, perhaps /myrobot/cmd_vel. Try using roswtf and rqt to see what nodes are connected to which topics, and make sure that you're publishing on the correct topic.

clyde gravatar image clyde  ( 2017-11-23 12:48:11 -0600 )edit