Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

ros force based move plugin and unsynced gazebo and rviz motion

Hi guys,

I am working on a 4 mecannum wheel mobile robot. I have a kinetic installation on the RPi 3 on the robot and it is has nodes for motor driver, teb_planner for trajectory and path planning, move base to command on cmd_vel. I have made a gazebo model and i can see the robot moving in rviz and gazebo which are running on my laptop which also has ROS kinetic.

There are no controllers applied and the whole robot just has fixed links

My problem is that Rviz and Gazebo movements are not synced. If robot yaws 90 degrees in rviz, it yaws more than 500 degrees in gazebo. The hector_gazebo force based move plugin for gazebo is subscribing to the same odom and cmd_vel topics as the actual hardware.

i can see that changing the mu1 and mu2 values for the wheel link and the p gains in the plugin do have some effect on the motion

I am not sure if it is the P gain values in the plugin or the friction coefficients which needs to be fixed or something else is going wrong

<plugin name="base_controller" filename="">


any help is appreciated! Thank you in advance!