Gazebo | Ignition | Community
Ask Your Question
0

Help with getting the robot to move in gazebo

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

AssafZI gravatar image

Hello,

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 - http://wiki.ros.org/robotican

What am I missing?

Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

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

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

Comments

It was mobile_base_controller/cmd_vel Thanks!

AssafZI gravatar imageAssafZI ( 2017-11-23 21:41:39 -0600 )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 -0600 )edit

Question Tools

1 follower

Stats

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

Seen: 4,010 times

Last updated: Nov 23 '17