1516X High Stakes 2.0
Codebase for 1516X High Stakes season
Loading...
Searching...
No Matches
auton.h
Go to the documentation of this file.
1#pragma once
2#include <string>
3
4#include "electronic/distance.h"
5#include "robot/intake.h"
6#include "robot/ladybrown.h"
7#include "robot/latch.h"
8#include "robot/sweeper.h"
9
10namespace Robot {
17public:
19
29
35 static std::string autonName;
36
47 void AutoDrive(Intake &intake, Latch &latch, Sweeper &sweeper, DistanceSensor &distance, LadyBrown &ladybrown);
48
57 static void AutonSwitcher(int autonNum);
58
59private:
67 void RedNeg(Intake &intake, Latch &latch, DistanceSensor &distance);
68
76 void RedPos(Intake &intake, Latch &latch, Sweeper &sweeper, DistanceSensor &distance, LadyBrown &ladybrown);
77
78
79 void RedPosLateGoalRush(Intake &intake, Latch &latch, Sweeper &sweeper, DistanceSensor &distance, LadyBrown &ladybrown);
80
81
91 void BluePos(Intake &intake, Latch &latch, Sweeper &sweeper, DistanceSensor &distance, LadyBrown &ladybrown);
92
93
94 void BluePosLateGoalRush(Intake &intake, Latch &latch, Sweeper &sweeper, DistanceSensor &distance, LadyBrown &ladybrown);
95
96
105 void BlueNeg(Intake &intake, Latch &latch, DistanceSensor &distance);
106
116 void Skills(Intake &intake, Latch &latch, DistanceSensor &distance, LadyBrown &ladybrown);
117};
118} // namespace Robot
The Autonomous class contains classes and functions related to the robot's autonomous behavior.
Definition auton.h:16
void BluePos(Intake &intake, Latch &latch, Sweeper &sweeper, DistanceSensor &distance, LadyBrown &ladybrown)
Runs the puncher routine for the Skills Challenge.
Definition autons.cpp:81
void RedNeg(Intake &intake, Latch &latch, DistanceSensor &distance)
Runs the autonomous path for the far side defensive game strategy.
Definition autons.cpp:22
void RedPosLateGoalRush(Intake &intake, Latch &latch, Sweeper &sweeper, DistanceSensor &distance, LadyBrown &ladybrown)
Definition autons.cpp:199
void RedPos(Intake &intake, Latch &latch, Sweeper &sweeper, DistanceSensor &distance, LadyBrown &ladybrown)
Runs the autonomous path for the near side offensive game strategy.
Definition autons.cpp:39
static std::string autonName
The name of the autonomous program.
Definition auton.h:35
void Skills(Intake &intake, Latch &latch, DistanceSensor &distance, LadyBrown &ladybrown)
Definition skills.cpp:13
void AutoDrive(Intake &intake, Latch &latch, Sweeper &sweeper, DistanceSensor &distance, LadyBrown &ladybrown)
Drives the robot autonomously.
Definition autons.cpp:295
void BluePosLateGoalRush(Intake &intake, Latch &latch, Sweeper &sweeper, DistanceSensor &distance, LadyBrown &ladybrown)
Definition autons.cpp:124
static AUTON_ROUTINE auton
Sets the number of the autonomous program to use.
Definition auton.h:28
static void AutonSwitcher(int autonNum)
Switches the autonomous program.
Definition autons.cpp:331
void BlueNeg(Intake &intake, Latch &latch, DistanceSensor &distance)
Runs the autonomous path for the far side offensive game strategy. This function executes the autonom...
Definition autons.cpp:277
The Intake class represents a robot intake system.
Definition intake.h:8
The LadyBrown class represents the robot lady brown subsystem.
Definition ladybrown.h:9
The Latch class represents a latching mechanism.
Definition latch.h:8
The Latch class represents a latching mechanism.
Definition sweeper.h:8
Definition auton.h:10