Skip to content
This repository was archived by the owner on Dec 7, 2024. It is now read-only.
This repository was archived by the owner on Dec 7, 2024. It is now read-only.

Incorrect setting in SmartMotion example. #5

@tekdemo

Description

@tekdemo

The SmartMotion example incorrectly uses the kVelocity control option, instead of kSmartVelocity. This makes the example pretty confusing as selecting Velocity causes the PID control to disable smart motion entirely.

m_pidController.setReference(setPoint, ControlType.kVelocity);

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