Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Different values in /cmd_vel/angular/z and /odom/.../angular/z

Hello. I am new in the use of ROS-Gazebo simulation. I'm using simulation with model p3dx in ROS Indigo and Gazebo 2.x in Ubuntu 14.04 64bits. I'm struggling with the difference between: a) the cmd_vel.angular.z values (value sent to the robot) and b) the odom.twist.twist.angular.z (value obtained from odometry), after stabilize the speed, exacly as link image: cmd_vel_vs_odometry

In the model p3dx using the differential-drive library, for which the sending angular velocity values (cmd_vel / angle / z). I wonder if this can be solved with configuration or is a platform of error.

Below the library insertion section in "pioneer3dx.gazebo":

<plugin name="differential_drive_controller" filename="">
    <updateRate>100</updateRate><!-- original = 100 -->