Team138Entropy / Entropy2020

Team 138 FIRST Robotics Infinite Recharge 2020
4 stars 0 forks source link

Allow climbing escape? #161

Closed joecaraccio closed 4 years ago

joecaraccio commented 4 years ago

Right now we have an interlock on the climbing mode, which requires to the driver to enable climbing before then being able to be able to use the climbing controls

Or perhaps a long press to enter climbing mode?

I have fear of this doomsday scenario where early in a match we actually put ourselves into climbing mode and can't get out of it.

I guess if we start running the climber than none of this would apply

onedeadeye commented 4 years ago

Perhaps this didn't get merged or my untested code from Saturday doesn't work (surprise!) but i built in a mechanism to leave climbing mode - if the climber is all the way down, pressing the "climbing mode" key transfers back out to Intake.

jhinspeter commented 4 years ago

Liam - yes, you're right. That was in there but I took it out while I was trying to get climbing working. Switch statements need breaks. ;^)

I think we could probably put it back in, now that I have climbing working. Or as Joe says, make it more difficult to enter. We should get input from Noah.

A clear indication of the current active state on the dashboard might help too. Like a green light next to the active sub-state. Alternatively, can we make the main state display bigger text?

On Tue, Mar 3, 2020, 11:30 PM Liam Daley notifications@github.com wrote:

Perhaps this didn't get merged or my untested code from Saturday doesn't work (surprise!) but i built in a mechanism to leave climbing mode - if the climber is all the way down, pressing the "climbing mode" key transfers back out to Intake.

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/Team138Entropy/Entropy2020/issues/161?email_source=notifications&email_token=ABR4CQBOWOI7QSXUQRDXY23RFXKPRA5CNFSM4LA223G2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENWJ3SI#issuecomment-594320841, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABR4CQHXWYU4EFJ2JYX5ODTRFXKPRANCNFSM4LA223GQ .

joecaraccio commented 4 years ago

I would just say for simplicity (we are close to the deadline) to allow the select button be hit again to allow you to leave the 'Wait' state. if you are beyond that state then you have to climb.

Jay - DisabledInit is probably our best bet for calling a zero function. that should run everytime we turn on I believe.. and anytime we disable..