Releases: team2485/frc-2020
Releases · team2485/frc-2020
Artemis Del Mar Regional Code Release
FRC 2485's code for their 2020 INFINITE RECHARGE robot Artemis, as it was after the Del Mar Regional. This code base features the following:
- Ramped "anti-tip" drivetrain
- Always up or always down intake arm
- Basic indexing intake/magazine (does not count balls, will unconditionally index balls when detected)
- Buffered turret and hood with manual velocity control
- Turret limelight align
- RPM and hood setpoints for initiation line, close trench and far trench
- Basic climber
Button Bindings:
Test mode (always run this after a power cycle just to be safe!)
- X button: home hood (run me until I hit the top limit switch)
- A button: home turret (run me until I hit the counterclockwise limit switch)
Driver
- Right trigger, left trigger, left x joystick and x button curvature drive ("rocket league drive")
- A button: intake balls/index
- B button: outtake everything: low mag, high mag, feeder and shooter. Useful for jams.
- Y button: climb
- Right bumper button: intake arm up
- Left bumper button: intake arm down
- Back button: toggle Limelight led
- Start button: outtake just low magazine
Operator
- Left Joystick X: turret manual
- Right Joystick Y: hood manual
- X Button: turret Limelight align
- Y Button: Initiation line hood setpoint
- B Button: close trench hood setpoint
- A Button: far trench hood setpoint
- Left Trigger: runs flywheel at rpm based on whether Y (initiation line), B (close trench), A (far trench) or nothing (user inputed Shuffleboard value) is held
- Right Bumper: feeds balls into shooter
- Start: runs only feeder only. Useful if there's a ball just in the feeder and you don't want to increment any additional balls.
- Back: toggle limelight led
How to run
- Download the source code
- Connect to the robot via WiFi (the robot will appear in networks just like any other Wifi router)
- Run NI Driverstation program
- Shift-right click in the folder containing the unzipped source code and click Open PowerShell
- Run
./gradlew deploy
How to actually run
- ask a software kid
- wait
Teleop Drivebase Stable
This release has working teleop drivetrain code.