Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add initialBrakeMode and initialNeutralDeadband to motor protos #130

Open
brettle opened this issue Jul 22, 2024 · 0 comments
Open

Add initialBrakeMode and initialNeutralDeadband to motor protos #130

brettle opened this issue Jul 22, 2024 · 0 comments

Comments

@brettle
Copy link
Member

brettle commented Jul 22, 2024

For motors with controllerType of "PWM", these would specify the values to use permanently.
For CAN-controlled motors these would specify the values stored in the controller.

The default for initialBrakeMode should be true.
The default for initialNeutralDeadband should be -1, meaning "whatever the factory default is for the specified controllerType".

Note that PWMMotorMediator.java does not currently support deadbanding or coasting, so that would need to implemented (a la CANMotorMediator.java but not dynamic) as part of this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant