Can't control the robot in gazebo

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

AssafZI gravatar image

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

Hello,

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?

Thanks!

edit retag flag offensive close merge delete

Comments

1

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 -0500 )edit