Skip to content

Releases: Mechanisms-Robotics/2025SwerveAndCandy

newGamePad-oldLogic

24 Mar 17:44

Choose a tag to compare

newGamePad-oldLogic Pre-release
Pre-release

This code allows the SecondaryDriver to work with the shifter, gamepad, and pedals simultaneously. The operation is exactly as it was before introducing the gamepad.

newGamePad-CoralClutchAdded

24 Mar 19:29

Choose a tag to compare

Pre-release

This version introduces the coral clutch pedal and coral clutch (CC) gamepad button. When traveling to L2, L3, or L4, if the Coral Clutch is engaged, the elevator will go to L2, L3, or L4 plus some offset value. The ElevatorUp and ElevatorDown buttons can then be used while the clutch is engaged to increase or decrease those offsets.
Each offset is stored per "mode" (i.e., coral or algae) and per "level" (i.e., L2, L3, or L4). Algae offsets ONLY apply to L2 and L3 since there is no algae to pick at an L4 level. Therefore for L4, the Secondary Driver can use EITHER the coral clutch OR the algae clutch to adjust the elevator offset, and the new offset value will be saved to a generic L4 value regardless of which clutch was used.

Release to test Gamepad

25 Mar 00:52
2571444

Choose a tag to compare

Pre-release
Merge pull request #13 from Mechanisms-Robotics/newGamepad

New gamepad Merge PR