6#include "pros/serial.h"
11
12
13
14
15
16
17
18
22
23
24
29
30
41
42
43
44
45
52
53
54
55
56
61 pros::lcd::initialize();
64 if (pros::c::registry_get_plugged_type(13) == pros::c::E_DEVICE_IMU) {
77
78
79
80
87
88
89
90
91
92
93
94
111
112
113
114
115
116
117
118
119
120
132
133
134
135
136
137
138
139
140
141
142
143
The Autonomous class contains classes and functions related to the robot's autonomous behavior.
void AutoDrive(Puncher &puncher, bool autono)
Drives the robot autonomously.
Represents the drivetrain of the robot.
void run()
Runs the drivetrain.
The Intake class represents a robot intake system.
void run()
Runs the main function of the intake system.
Represents a Puncher mechanism for a robot.
void run(int autonVal)
Runs the puncher based on the given autonomous value.
The Wings class represents the wings of a robot.
void run()
Runs the wings.
void competition_initialize()
Contains global variables and type definitions for the Robot namespace.
Contains utility functions for controlling the screen and toggling subsystems.
void displayLocation()
Displays current position of the robot.
void toggleSubsystemOptions(Autonomous &auton, Drivetrain &drive, Puncher &punch)
Toggles subsystems, drive mode auton routine, and puncher.
void displayMotorVel()
Displays current velocity of the robot.
Contains all objects generated by the 1516B team - Contains all of the subsystems,...
Structure that holds instances of all robot subsystems.
Robot::Drivetrain drivetrain
Robot::Autonomous autonomous