ros-simulation / gazebo_ros_pkgs

Wrappers, tools and additional API's for using ROS with Gazebo
http://wiki.ros.org/gazebo_ros_pkgs
783 stars 773 forks source link

Turltlebot does not move #555

Open pulver22 opened 7 years ago

pulver22 commented 7 years ago

We are using Ubuntu 16.04 with ROS Kinetic and Gazebo 7. We downloaded turlebot_gazebo package, compile it without issues and spawing world and robot. We publish a message on on /cmd_vel but the turtlebot does not move from its position despite the messages are published on /turle1/cmd_vel.

Do you have any idea of what is going on?

Cheers!

kev-the-dev commented 6 years ago

Sorry it has taken so long for someone to look at this issue. I'll need some more details to help you. Are you simply running roslaunch turtlebot_gazebo turtlebot_world.launch or are you running some custom code? If so it's possible you are just using the wrong topic. From this tutorial try:


rostopic pub /mobile_base/commands/velocity geometry_msgs/Twist "linear:
  x: 0.0
  y: 0.0
  z: 0.0
angular:
  x: 0.0
  y: 0.0
  z: 1.0" -r10```