-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathGirls On Fire Code.rtf
20 lines (20 loc) · 1.91 KB
/
Girls On Fire Code.rtf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fnil\fcharset0 Calibri;}{\f1\fnil\fcharset2 Symbol;}}
{\*\generator Msftedit 5.41.21.2510;}\viewkind4\uc1\pard\sa200\sl276\slmult1\qc\lang9\f0\fs22 Girls On Fire Code\par
\par
\pard{\pntext\f1\'B7\tab}{\*\pn\pnlvlblt\pnf1\pnindent0{\pntxtb\'B7}}\fi-360\li720\sa200\sl276\slmult1\b Programming language we used is Java\b0\par
{\pntext\f1\'B7\tab}WPI Libraries\par
{\pntext\f1\'B7\tab}Iterative Robot - Some functions run only once, others run multiple times per second\par
{\pntext\f1\'B7\tab}RobotInit - Runs once, right when the robot boots\par
{\pntext\f1\'B7\tab}AutonomousInit - Runs once, right when autonomous mode begins\par
{\pntext\f1\'B7\tab} Encoders - Determine how many times motor has turned to allow us to determine distance traveled\par
{\pntext\f1\'B7\tab}AutonomousPeriodic - Runs several times per second, determines whether autonomous distance has been covered yet, whether it's time to stop driving, whether it's time to fire the ball.\par
{\pntext\f1\'B7\tab}Debug - Used to send debug output to the smart panel and show us speed, joystick input, etc\par
{\pntext\f1\'B7\tab}MoveBase - Periodic - Moves the robot the given number of feet at the given speed. Stops when distance limit is reached. \par
{\pntext\f1\'B7\tab}Fire - Fires the ball. Conveyor belt runs until autonomous mode is over.\par
{\pntext\f1\'B7\tab}ChangeCamera - Switches between multiple cameras (called by a button press in teleop)\par
{\pntext\f1\'B7\tab}TurnBase - Turns the robot a given angle and speed (not used this year, no gyroscope)\par
{\pntext\f1\'B7\tab}TeleopPeriodic - Receives input during teleop mode and determines drive speed, intake, firing, camera, etc.\par
{\pntext\f1\'B7\tab}SetVictorSpeed - Sets speed on the given motor controller (Victor)\par
{\pntext\f1\'B7\tab}SetRobotDriveSpeed - Tells the drivetrain which speed to apply to the left and the right\par
}