![]() |
1516X Push Back 1.0
1516X's robot code for the 2025-2026 VEX Robotics Competition
|
#include "globals.h"#include "auton/autonFunctions.h"#include "lemlib/chassis/chassis.hpp"#include "ltv.h"#include "pros/abstract_motor.hpp"#include "pros/rtos.hpp"#include "velocityController.h"#include "paths.h"#include "ramsete.h"#include "distanceReset.h"#include "colorSort.h"#include "crossBarrierDetection.h"#include <type_traits>Go to the source code of this file.
Functions | |
| RamsetePathFollower | ramsete (config, 2.5, 0.7) |
| LTVPathFollower | ltv (config) |
| void | precompute_auton_paths () |
| void | right_auton () |
| void | carry_auton () |
| void | left_auton () |
| void | elim_auton () |
| void | awp_auton () |
| void | skills_auton () |
| void | test_auton () |
Variables | |
| const int | longgoal_delay = 1100 |
| const int | midgoal_delay = 1000 |
| const int | matchload_delay = 500 |
| const int | mid_triball_delay = 500 |
| const int | longgoal_offset = 6 |
| const int | midgoal_offset = 11.7 |
| const int | matchload_offset = 11.9 |
| const int | triball_delay = 500 |
| const int | dual_ball_delay = 500 |
| const VelocityControllerConfig | config |
| void awp_auton | ( | ) |
Definition at line 211 of file autonRoutines.cpp.
References allianceColor, awp_1, chassis, color_sort_enable, descore(), distanceReset(), intake(), intakeMotor(), longgoal_offset, ltv(), matchload_state(), score_longgoal_auton(), topMotor(), and trapDoor().
Referenced by selector().
| void carry_auton | ( | ) |
| void elim_auton | ( | ) |
Definition at line 165 of file autonRoutines.cpp.
References allianceColor, chassis, color_sort_enable, descore(), distanceReset(), intake(), intake_stop(), longgoal_offset, matchload(), matchload_state(), score_longgoal_auton(), trapDoor(), and distancePose::y.
Referenced by selector().
| void left_auton | ( | ) |
Definition at line 113 of file autonRoutines.cpp.
References allianceColor, chassis, color_sort_enable, descore(), distanceReset(), intake(), intake_stop(), intakeMotor(), longgoal_offset, matchload_state(), midgoal_first, score_longgoal_auton(), topMotor(), and trapDoor().
Referenced by selector().
| LTVPathFollower ltv | ( | config | ) |
References config.
Referenced by awp_auton().
| void precompute_auton_paths | ( | ) |
Definition at line 56 of file autonRoutines.cpp.
| void right_auton | ( | ) |
Definition at line 60 of file autonRoutines.cpp.
References allianceColor, chassis, color_sort_enable, descore(), distanceReset(), intake(), intake_stop(), longgoal_offset, matchload(), matchload_state(), outtake(), score_longgoal_auton(), and trapDoor().
Referenced by selector().
| void skills_auton | ( | ) |
Definition at line 272 of file autonRoutines.cpp.
References blockBlocker(), chassis, color_sort_enable, crossBarrier(), descore(), distanceReset(), dual_ball_delay, imu, intake(), intake_stop(), intakeFunnel(), leftMotors, longgoal_delay, longgoal_offset, matchload(), matchload_delay, matchload_offset, matchload_state(), mid_triball_delay, midgoal_delay, midgoal_first, midgoal_offset, relativeMotion(), rightMotors, score_longgoal_auton(), score_midgoal_auton(), topMotor(), trapDoor(), and triball_delay.
Referenced by selector().
| void test_auton | ( | ) |
Definition at line 471 of file autonRoutines.cpp.
References chassis, and distanceReset().
| const VelocityControllerConfig config |
Definition at line 43 of file autonRoutines.cpp.
| const int dual_ball_delay = 500 |
Definition at line 41 of file autonRoutines.cpp.
Referenced by skills_auton().
| const int longgoal_delay = 1100 |
Definition at line 33 of file autonRoutines.cpp.
Referenced by skills_auton().
| const int longgoal_offset = 6 |
Definition at line 37 of file autonRoutines.cpp.
Referenced by awp_auton(), elim_auton(), left_auton(), opcontrol(), right_auton(), and skills_auton().
| const int matchload_delay = 500 |
Definition at line 35 of file autonRoutines.cpp.
Referenced by skills_auton().
| const int matchload_offset = 11.9 |
Definition at line 39 of file autonRoutines.cpp.
Referenced by skills_auton().
| const int mid_triball_delay = 500 |
Definition at line 36 of file autonRoutines.cpp.
Referenced by skills_auton().
| const int midgoal_delay = 1000 |
Definition at line 34 of file autonRoutines.cpp.
Referenced by skills_auton().
| const int midgoal_offset = 11.7 |
Definition at line 38 of file autonRoutines.cpp.
Referenced by skills_auton().
| const int triball_delay = 500 |
Definition at line 40 of file autonRoutines.cpp.
Referenced by skills_auton().