Skip to content

JointPositionController and JointVelocityController misbehave when stopped and started #374

Description

@goretkin

If these controllers are stopped and then started later (without unloading and loading), then its update function is called and within it, the dt_ passed to the updatePid function is a very large value, which means that if there is any error at all, the integrator will likely become saturated in one step.

What happens is that the commanded effort will jump when you start the controllers. At first I thought perhaps the controller manager was still calling the update loop, causing the integrator to accumulate error, but the controller manager is working properly.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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