ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

No, the Kobuki Gazebo plugin computes the odometry based on the rate at which the wheels are turning. So there are two possible explanations for the effect you're seeing:

  1. Either the wheels are really not turning when the robot is pushing against a wall. This is unrealistic, but if the simulated wheel traction is much higher than on the real robot, it's possible. In that case, the robot is not moving in the odom frame.
  2. Or the robot does appear to be moving in the odom frame, but gmapping is compensating for it based on the localization in the laser scans.

I would guess it's (1).