ros-naoqi / pepper_robot

Meta-package for basic Pepper robot-related packages
23 stars 47 forks source link

GazeboRosDiffDrive Plugin missing <legacyMode> #47

Closed mingfeisun closed 11 months ago

mingfeisun commented 6 years ago

When I was using the urdf files in pepper gazebo plugin, I found the following errors, which could make /tf publishing fails:

[ERROR] [1520845188.852631830]: GazeboRosDiffDrive Plugin missing <legacyMode>, defaults to true
This setting assumes you have a old package, where the right and left wheel are changed to fix a former code issue
To get rid of this error just set <legacyMode> to false if you just created a new package.
To fix an old package you have to exchange left wheel by the right wheel.
If you do not want to fix this issue in an old package or your z axis points down instead of the ROS standard defined in REP 103
just set <legacyMode> to true.

The corresponding solution to fix this is to change the Drive controller part in pepperGazebo.xacro as follows:

grushety commented 4 years ago

It didn't work for me. May be there are another solutions?

nlyubova commented 4 years ago

@mingfeisun could you do a PR to fix it ?

mingfeisun commented 4 years ago

Sure. I will make a PR.