Skip to content

Use getArmPos() and setPoint.velocity and instead of goalState #18

Description

@brettle

double armFeedVolts = armFeed.calculate(goalState.position, goalState.velocity);

The kG portion of the feedforward should be based on the arm's current position (ie getArmPos()) and the kV portion should be based on the profiled velocity (ie setPoint.velocity). Neither should be based on goalState.

Metadata

Metadata

Assignees

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