Skip to content

JointPositionController and JointVelocityController misbehave when stopped and started #374

@goretkin

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.

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