![]() |
1516X Push Back 1.0
1516X's robot code for the 2025-2026 VEX Robotics Competition
|
#include "IntakeAntiJam.h"#include "globals.h"#include "auton/autonFunctions.h"#include "lemlib/chassis/chassis.hpp"#include "ltv.h"#include "pros/rtos.hpp"#include "velocityController.h"#include "paths.h"#include "distanceReset.h"#include "colorSort.h"#include "crossBarrierDetection.h"#include <cstdlib>#include <map>#include <sys/types.h>#include "RCL.h"Go to the source code of this file.
Functions | |
| LTVPathFollower | ltv (config) |
| void | precompute_auton_paths (std::string path_name) |
| void | test_auton () |
| void | left_rush () |
| void | right_auton_split () |
| void | right_rush () |
| void | right_7_wing () |
| void | carry_auton () |
| void | left_auton_split () |
| void | awp_auton () |
| void | skills_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 372 of file autonRoutines.cpp.
References awp_2, chassis(), config, descore(), distanceReset(), intake(), intake_stop(), jamManager(), ltv(), matchload_state(), rcl, score_longgoal(), score_longgoal_auton(), and score_midgoal().
Referenced by selector().
| void carry_auton | ( | ) |
Definition at line 312 of file autonRoutines.cpp.
References chassis(), and descore().
Referenced by selector().
| void left_auton_split | ( | ) |
Definition at line 318 of file autonRoutines.cpp.
References allianceColor, chassis(), config, descore(), distanceReset(), imu(), intake(), intake_stop(), matchload_delay, matchload_state(), mid_descore(), rcl, relativeMotion(), score_longgoal_auton(), and score_midgoal().
Referenced by selector().
| void left_rush | ( | ) |
Definition at line 164 of file autonRoutines.cpp.
References allianceColor, chassis(), descore(), distanceReset(), intake(), matchload_delay, matchload_state(), rcl, and score_longgoal_auton().
Referenced by selector().
| LTVPathFollower ltv | ( | config | ) |
References config.
Referenced by awp_auton(), precompute_auton_paths(), right_7_wing(), skills_auton(), and test_auton().
| void precompute_auton_paths | ( | std::string | path_name | ) |
Definition at line 62 of file autonRoutines.cpp.
References ltv().
| void right_7_wing | ( | ) |
Definition at line 282 of file autonRoutines.cpp.
References allianceColor, chassis(), config, descore(), distanceReset(), intake(), ltv(), matchload_state(), rcl, right_7_1, and score_longgoal_auton().
Referenced by selector().
| void right_auton_split | ( | ) |
Definition at line 198 of file autonRoutines.cpp.
References allianceColor, chassis(), config, descore(), distanceReset(), intake(), intake_stop(), jamManager(), matchload_delay, matchload_state(), outtake(), rcl, and score_longgoal_auton().
Referenced by selector().
| void right_rush | ( | ) |
Definition at line 255 of file autonRoutines.cpp.
References allianceColor, chassis(), descore(), distanceReset(), intake(), matchload_state(), and score_longgoal_auton().
Referenced by selector().
| void skills_auton | ( | ) |
Definition at line 434 of file autonRoutines.cpp.
References allianceColor, chassis(), color_sort_enable, config, descore(), distanceReset(), dual_ball_delay, frontDistance(), intake(), intake_lift(), intake_stop(), intakeMotor(), jamManager(), longgoal_delay, longgoal_offset, ltv(), matchload_delay, matchload_offset, matchload_state(), mid_triball_delay, midgoal_delay, midgoal_offset, parkingzone_curve, parkingzone_curve2, rcl, relativeMotion(), score_longgoal(), score_longgoal_auton(), score_midgoal(), skills_1, storageMotor(), and triball_delay.
Referenced by selector().
| void test_auton | ( | ) |
Definition at line 83 of file autonRoutines.cpp.
References allianceColor, chassis(), config, distanceReset(), intake(), intake_stop(), intakeMotor(), jamManager(), longgoal_delay, ltv(), matchload_delay, matchload_state(), parkingzone_curve2, rcl, score_longgoal_auton(), and score_midgoal().
| const VelocityControllerConfig config |
Definition at line 48 of file autonRoutines.cpp.
| const int dual_ball_delay = 500 |
Definition at line 46 of file autonRoutines.cpp.
Referenced by skills_auton().
| const int longgoal_delay = 1100 |
Definition at line 38 of file autonRoutines.cpp.
Referenced by skills_auton(), and test_auton().
| const int longgoal_offset = 6 |
Definition at line 42 of file autonRoutines.cpp.
Referenced by skills_auton().
| const int matchload_delay = 500 |
Definition at line 40 of file autonRoutines.cpp.
Referenced by left_auton_split(), left_rush(), right_auton_split(), skills_auton(), and test_auton().
| const int matchload_offset = 11.9 |
Definition at line 44 of file autonRoutines.cpp.
Referenced by skills_auton().
| const int mid_triball_delay = 500 |
Definition at line 41 of file autonRoutines.cpp.
Referenced by skills_auton().
| const int midgoal_delay = 1000 |
Definition at line 39 of file autonRoutines.cpp.
Referenced by skills_auton().
| const int midgoal_offset = 11.7 |
Definition at line 43 of file autonRoutines.cpp.
Referenced by skills_auton().
| const int triball_delay = 500 |
Definition at line 45 of file autonRoutines.cpp.
Referenced by skills_auton().