Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I have solved the problem of moving the robot another way. But anyway maybe it will be helpful to someone else.

I don't know the reason of the issue with wheels, but moving pioneer2dx can be performed using the pluguin. You just add this to your .world file:

<model name='pioneer2dx'>
  <!-- Your model code -->
  <plugin name='differential_drive_controller'

Once your world is running, you can use this to drive your Pioneer2DX:

publisher = rospy.Publisher('/%s/cmd_vel' % topic, Twist, queue_size=8)
msg = Twist()
msg.linear.x = your_linear_speed
msg.angular.z = your_angular_speed