25 chassis.setPose(-148.132, -58.408, 190);
27 chassis.follow(red_right_pt1_txt, 15, 5000);
32 chassis.follow(red_right_pt2_txt, 15, 5000);
36 chassis.follow(red_right_pt3_txt, 15, 5000);
44 chassis.follow(red_right_pt4_txt, 15, 5000);
49 chassis.follow(red_right_pt5_txt, 15, 5000);
55 chassis.setPose(-146.76, 63.046, 10);
57 chassis.follow(red_left_pt1_txt, 15, 5000);
62 chassis.follow(red_left_pt2_txt, 15, 5000);
66 chassis.follow(red_left_pt3_txt, 15, 5000);
71 chassis.follow(red_left_pt4_txt, 15, 5000);
76 chassis.follow(red_left_pt5_txt, 15, 5000);
90 chassis.setBrakeMode(pros::E_MOTOR_BRAKE_BRAKE);
94 chassis.moveToPoint(0, 72, 3500, { .maxSpeed = 110 },
true);
95 chassis.turnToHeading(180, 1000, { .maxSpeed = 90 },
false);
98 chassis.moveToPoint(0, 24, 1000, { .maxSpeed = 110 });
99 chassis.turnToHeading(0, 1200, { .maxSpeed = 110 },
false);
void AutoDrive(Intake &intake, Latch &latch)
Drives the robot autonomously.
void Auton4(Intake &intake, Latch &latch)
Runs the autonomous path for the far side offensive game strategy. This function executes the autonom...
static std::string autonName
The name of the autonomous program.
void Auton1(Intake &intake, Latch &latch)
Runs the autonomous path for the far side defensive game strategy.
void Auton2(Intake &intake, Latch &latch)
Runs the autonomous path for the near side offensive game strategy.
static AUTON_ROUTINE auton
Sets the number of the autonomous program to use.
void Auton3(Intake &intake, Latch &latch)
Runs the puncher routine for the Skills Challenge.
static void AutonSwitcher(int autonNum)
Switches the autonomous program.
void Auton5(Intake &intake, Latch &latch)
The Intake class represents a robot intake system.
void score()
Outakes alliance rings into latched mobile goal and ejects enemy rings.
void toggle()
Toggles intake elevation.
The Latch class represents a latching mechanism.
void toggle()
Toggles latch state.
lemlib::Chassis chassis(drivetrain, lateral_controller, angular_controller, sensors, &throttle_curve, &steer_curve)