Skip to content

base controller never achieves velocities in gazebo #402

@dHonerkamp

Description

@dHonerkamp

Hi,

I am starting the pr2 with all default configurations in gazebo (ROS noetic). I then send twist commands to the base controller as outlined in the tutorial (http://wiki.ros.org/pr2_controllers/Tutorials/Using%20the%20robot%20base%20controllers%20to%20drive%20the%20robot0), vaying the velocities and publishing them at 50 hz.

Doing so I find that:

  • the max linear velocity is at 0.26, not the specified 2.0
  • for any linear velocity I send, the controller consistently achieves exactly 0.6 * this velocity
  • the max angular velocity is around 0.38
  • for any angular velocity I send, the controller achieves roughly 0.5 * this velocity
  • independent of the final velocities, acceleration is also very slow. I'm not sure if this might be due to large inertias or if the controller gains are just very suboptimal
  • on the real robot (though running ROS hydro) we do not have any of these problems, nor any large inertias

Somewhat related to #392 though the differences in gazebo are just so much larger that I assume it is something else.

I was wondering if anyone experienced the same and or what configurations I might best look at to solve this? There is at least one other person encountering the same issue, but no solution: https://stackoverflow.com/questions/64525521/gazebo-simulated-pr2-robot-maximum-speed-is-not-respected

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions