![]() |
1516X High Stakes 2.0
Codebase for 1516X High Stakes season
|
#include "robot/auton.h"
#include "globals.h"
#include "lemlib/chassis/chassis.hpp"
#include "main.h"
#include "pros/motors.h"
#include "pros/rtos.hpp"
#include "robot/intake.h"
#include "robot/ladybrown.h"
#include "robot/sweeper.h"
#include <iostream>
#include <string>
Go to the source code of this file.
Functions | |
void | RedNegBAK (Intake &intake, Latch &latch, DistanceSensor &distance, LadyBrown &ladybrown) |
void | RedPosBAK (Intake &intake, Latch &latch, Sweeper &sweeper, DistanceSensor &distance, LadyBrown &ladybrown) |
void | BluePosBAK (Intake &intake, Latch &latch, Sweeper &sweeper, DistanceSensor &distance, LadyBrown &ladybrown) |
void | BlueNegBAK (Intake &intake, Latch &latch, DistanceSensor &distance, LadyBrown &ladybrown) |
Variables | |
constexpr int | delay_constant = 1050 |
void BlueNegBAK | ( | Intake & | intake, |
Latch & | latch, | ||
DistanceSensor & | distance, | ||
LadyBrown & | ladybrown ) |
Definition at line 539 of file autons.cpp.
References Robot::LadyBrown::ATTACK_STATE, Robot::LadyBrown::BASE_STATE, Robot::Globals::chassis(), Robot::Globals::colorSensor(), Robot::Globals::drive_(), Robot::Globals::HookMotor(), Robot::Globals::IntakeMotor(), ladybrown, and Robot::Globals::LatchControl().
void BluePosBAK | ( | Intake & | intake, |
Latch & | latch, | ||
Sweeper & | sweeper, | ||
DistanceSensor & | distance, | ||
LadyBrown & | ladybrown ) |
Definition at line 287 of file autons.cpp.
References Robot::Globals::chassis(), Robot::Globals::drive_(), Robot::Globals::HookMotor(), Robot::Globals::IntakeMotor(), ladybrown, Robot::LadyBrown::LOAD_STATE, Robot::Globals::SweeperControl(), and Robot::Latch::toggle().
Definition at line 69 of file autons.cpp.
References Robot::LadyBrown::ATTACK_STATE, Robot::LadyBrown::BASE_STATE, Robot::Globals::chassis(), Robot::Globals::colorSensor(), Robot::Globals::drive_(), Robot::Globals::HookMotor(), Robot::Globals::IntakeLift(), Robot::Globals::IntakeMotor(), ladybrown, and Robot::Globals::LatchControl().
void RedPosBAK | ( | Intake & | intake, |
Latch & | latch, | ||
Sweeper & | sweeper, | ||
DistanceSensor & | distance, | ||
LadyBrown & | ladybrown ) |
Definition at line 177 of file autons.cpp.
References Robot::Globals::chassis(), Robot::Globals::drive_(), Robot::Globals::HookMotor(), Robot::Globals::IntakeMotor(), ladybrown, Robot::LadyBrown::LOAD_STATE, Robot::Globals::SweeperControl(), and Robot::Latch::toggle().
|
constexpr |
Definition at line 19 of file autons.cpp.