FRCTeam2992 / Robot2023

FRC Team 2992's 2023 Robot Code
Other
1 stars 0 forks source link

[Arm & Elevator] Make arm hold position + Fix elevator hold position #54

Closed msonnier closed 1 year ago

msonnier commented 1 year ago

Related Issues and PRs

Same change as on elevator but for arm -- prevent backdrive.

Issue:

Related PRs:

Checklist

What is changing and why?

Adds holdArm method to Arm subsystem and associated HoldArm command which puts Arm into backdrive prevention mode with a very long timout. Could change the default command to use this, but has not been done. Will want to think about whether we want that before using -- Arm doesn't easily backdrive anyway.

How was this tested?

tested on bot.

Is there anything the reviewer of this PR needs to know to validate that this code is correct?

Arm and Elevator both now use Hold command as their default command for 2 minutes.

What do your team members need to know about this?

H

msonnier commented 1 year ago

Ready to test and merge.