Gazebo | Ignition | Community
Ask Your Question

Help with getting the robot to move in gazebo

asked 2017-11-23 06:58:16 -0500

AssafZI gravatar image


I cant get the robot to move in gazebo.

trying to run:

    roslaunch robotican_lizi lizi.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 (lizi, komodo, armadillo)

I'm running ROS Indigo on ubuntu14.04, gazebo 2.

Robotican -

What am I missing?


edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2017-11-23 14:41:14 -0500

Jose Luis Rivero gravatar image

To debug the problem, I will probably start with:

  1. Check that the gazebo simulator is not paused. Sometimes happen.
  2. Check that the /cmd_vel topic is the one really in use by the gazebo plugin or the code that controls the motion of the robot. Sometimes the launch remmaping make it to use namespaces (i.e: /robot/cmd_vel).
  3. Check that the code that handles the motion is being called. You can use the help of the ROS log system or any other programming mechanism.
edit flag offensive delete link more


It was mobile_base_controller/cmd_vel Thanks!

AssafZI gravatar imageAssafZI ( 2017-11-23 21:41:39 -0500 )edit

no problem, please mark the answer as right so it does not appear as unanswered.

Jose Luis Rivero gravatar imageJose Luis Rivero ( 2017-11-29 05:00:43 -0500 )edit

Question Tools

1 follower


Asked: 2017-11-23 06:54:51 -0500

Seen: 3,947 times

Last updated: Nov 23 '17