Skip to content

Disable auto sensor zeroing in closed loop position mode #17

Description

@sd42

When moving at velocity, enable auto zeroing is safe but not when going to a position or holding a position. A sudden redefinition of sensor's point of reference results in a violent correction that may exceed the hardware limits.

If holding position, poll for hardware limit instead. Then zero or set to the proper min or max value to the hardware.

The problem manifests itself if limit switch goes hit by mistake, the robot goes crazy.

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