![]() |
1516X Push Back 1.0
1516X's robot code for the 2025-2026 VEX Robotics Competition
|
#include "main.h"#include "globals.h"#include "liblvgl/core/lv_obj_pos.h"#include "pros/misc.h"#include "auton/autonRoutines.h"#include "auton/autonFunctions.h"#include "robodash/views/selector.hpp"#include "distanceReset.h"#include "colorSort.h"#include "warnings.h"#include <string>#include "MCL.h"#include "visionAlignment.h"#include "ramsete.h"Go to the source code of this file.
Functions | |
| void | alliance_btn_event_handler (lv_event_t *e) |
| void | create_alliance_selector () |
| rd::Selector | selector ({ {"Right", right_auton}, {"Left", left_auton}, {"Carry", carry_auton}, {"Elim", elim_auton}, {"AWP", awp_auton}, {"Skills", skills_auton} }) |
| void | initialize () |
| void | disabled () |
| void | competition_initialize () |
| void | autonomous () |
| void | opcontrol () |
Variables | |
| rd::Console | console |
| void alliance_btn_event_handler | ( | lv_event_t * | e | ) |
Definition at line 16 of file main.cpp.
References allianceColor.
Referenced by create_alliance_selector().
| void autonomous | ( | ) |
Definition at line 115 of file main.cpp.
References elim_auton().
| void create_alliance_selector | ( | ) |
Definition at line 37 of file main.cpp.
References alliance_btn_event_handler().
Referenced by initialize().
| void disabled | ( | ) |
Definition at line 108 of file main.cpp.
References selector().
| void initialize | ( | ) |
Definition at line 60 of file main.cpp.
References calibrate_vision(), chassis, color_sensor(), console, create_alliance_selector(), distance_sensor_disconnect_warning(), motor_disconnect_warning(), selector(), and temp_warning().
| void opcontrol | ( | ) |
Definition at line 140 of file main.cpp.
References alignToGoal(), allianceColor, chassis, color_sort_enable, controller, descore(), intake(), intake_to_basket(), leftMotors, matchload(), midgoal_first, outtake(), resting_state(), rightMotors, score_longgoal(), score_midgoal(), and trapDoor().
| rd::Selector selector | ( | { {"Right", right_auton}, {"Left", left_auton}, {"Carry", carry_auton}, {"Elim", elim_auton}, {"AWP", awp_auton}, {"Skills", skills_auton} } | ) |
References awp_auton(), carry_auton(), elim_auton(), left_auton(), right_auton(), and skills_auton().
Referenced by disabled(), and initialize().
| rd::Console console |
Definition at line 58 of file main.cpp.
Referenced by initialize().