Gazebo | Ignition | Community
Ask Your Question

ros force based move plugin and unsynced gazebo and rviz motion

asked 2020-08-06 09:02:42 -0500

HJaiswal gravatar image

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!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-08-07 07:34:27 -0500

HJaiswal gravatar image

Referencing this question:

there was something theoretically wrong with what i wanted to do.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2020-08-06 09:02:42 -0500

Seen: 791 times

Last updated: Aug 07 '20