Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

SetWorldPose() and spinning wheels

All,

I just created my first sdf robot (a wheeled robot) and first few plugins. I am trying to move my simulated robot in the world to match the position of the real robot as given by an external source of pose (a motion tracking system). Following my reading of documentation and a few posts, I use SetWorldPose() to do that, which works. Except that the robot just slides, the wheels not spinning at all, the result not looking realistic at all.

The "obvious" solution would be to control the wheels to move the robot to the desired position, but (1) this is not so trivial and (2) may well result in the simulated robot never catching up with the real robot.

Any suggestion?

Cheers, Fred