![]() |
1516X Push Back 1.0
1516X's robot code for the 2025-2026 VEX Robotics Competition
|
#include "globals.h"#include "auton/autonFunctions.h"#include "ltv.h"#include "pros/rtos.hpp"#include "velocityController.h"#include "paths.h"#include "ramsete.h"#include "distanceReset.h"#include "MCL.h"#include "colorSort.h"#include "crossBarrierDetection.h"Go to the source code of this file.
Functions | |
| RamsetePathFollower | ramsete (config, 2.5, 0.9) |
| 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 () |
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 174 of file autonRoutines.cpp.
References awp_1, chassis, descore(), distanceReset(), intake(), intake_stop(), longgoal_delay, longgoal_offset, matchload(), matchload_offset, matchload_state(), midgoal_delay, ramsete(), resting_state(), score_longgoal_auton(), score_midgoal(), trapDoor(), distancePose::x, and distancePose::y.
Referenced by selector().
| void carry_auton | ( | ) |
Definition at line 110 of file autonRoutines.cpp.
References awp_1, chassis, distanceReset(), intake(), intake_stop(), longgoal_delay, longgoal_offset, matchload_delay, matchload_state(), ramsete(), and score_longgoal_auton().
Referenced by selector().
| void elim_auton | ( | ) |
Definition at line 170 of file autonRoutines.cpp.
References ltv(), and skills_test.
Referenced by autonomous(), and selector().
| void left_auton | ( | ) |
Definition at line 130 of file autonRoutines.cpp.
References chassis, descore(), distanceReset(), intake(), intake_stop(), left_1, left_2, left_3, leftMotors, longgoal_delay, longgoal_offset, matchload_delay, matchload_offset, matchload_state(), ramsete(), resting_state(), rightMotors, and score_longgoal_auton().
Referenced by selector().
| LTVPathFollower ltv | ( | config | ) |
References config.
Referenced by elim_auton().
| void precompute_auton_paths | ( | ) |
Definition at line 55 of file autonRoutines.cpp.
References ramsete().
| RamsetePathFollower ramsete | ( | config | , |
| 2. | 5, | ||
| 0. | 9 ) |
References config.
Referenced by awp_auton(), carry_auton(), left_auton(), precompute_auton_paths(), and skills_auton().
| void right_auton | ( | ) |
Definition at line 60 of file autonRoutines.cpp.
References chassis, distanceReset(), intake(), intake_stop(), longgoal_delay, longgoal_offset, matchload_offset, matchload_state(), relativeMotion(), resting_state(), score_longgoal_auton(), and distancePose::y.
Referenced by selector().
| void skills_auton | ( | ) |
Definition at line 283 of file autonRoutines.cpp.
References chassis, color_sort_enable, descore(), distanceReset(), dual_ball_delay, longgoal_delay, longgoal_offset, matchload_delay, matchload_offset, mid_triball_delay, midgoal_delay, midgoal_offset, ramsete(), skills_1, skills_2, skills_3, skills_4, skills_5, skills_6, triball_delay, distancePose::x, and distancePose::y.
Referenced by selector().
| const VelocityControllerConfig config |
Definition at line 41 of file autonRoutines.cpp.
| const int dual_ball_delay = 500 |
Definition at line 39 of file autonRoutines.cpp.
Referenced by skills_auton().
| const int longgoal_delay = 1100 |
Definition at line 31 of file autonRoutines.cpp.
Referenced by awp_auton(), carry_auton(), left_auton(), right_auton(), and skills_auton().
| const int longgoal_offset = 6 |
Definition at line 35 of file autonRoutines.cpp.
Referenced by awp_auton(), carry_auton(), left_auton(), right_auton(), and skills_auton().
| const int matchload_delay = 500 |
Definition at line 33 of file autonRoutines.cpp.
Referenced by carry_auton(), left_auton(), and skills_auton().
| const int matchload_offset = 11.9 |
Definition at line 37 of file autonRoutines.cpp.
Referenced by awp_auton(), left_auton(), right_auton(), and skills_auton().
| const int mid_triball_delay = 500 |
Definition at line 34 of file autonRoutines.cpp.
Referenced by skills_auton().
| const int midgoal_delay = 1000 |
Definition at line 32 of file autonRoutines.cpp.
Referenced by awp_auton(), and skills_auton().
| const int midgoal_offset = 11.7 |
Definition at line 36 of file autonRoutines.cpp.
Referenced by skills_auton().
| const int triball_delay = 500 |
Definition at line 38 of file autonRoutines.cpp.
Referenced by skills_auton().