|
LightLib
PROS library for VEX V5: EKF/MCL localization, RAMSETE path following, high-level chassis API
|
Contains common definitions and header files used throughout your PROS project. More...
#include "LightLib/lib.hpp"#include "autons.hpp"#include "subsystems.hpp"#include "LightLib/ui/auton_selector.hpp"#include "LightLib/control/pid_tuner.hpp"#include "LightLib/drive.hpp"#include "LightLib/drive/holo_drive.hpp"#include "LightLib/util/auton_timer.hpp"#include "LightLib/path/spline.hpp"#include "LightLib/path/trajectory.hpp"#include "LightLib/path/ramsete.hpp"Go to the source code of this file.
Macros | |
| #define | PROS_USE_SIMPLE_NAMES |
| If defined, some commonly used enums will have preprocessor macros which give a shorter, more convenient naming pattern. | |
| #define | PROS_USE_LITERALS |
| If defined, C++ literals will be available for use. | |
Functions | |
| void | autonomous (void) |
| Prototypes for the competition control tasks are redefined here to ensure that they can be called from user code (i.e. | |
| void | initialize (void) |
| void | disabled (void) |
| void | competition_initialize (void) |
| void | opcontrol (void) |
Contains common definitions and header files used throughout your PROS project.
Copyright (c) 2017-2021, Purdue University ACM SIGBots. All rights reserved.
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.
Definition in file main.h.
| #define PROS_USE_LITERALS |
| #define PROS_USE_SIMPLE_NAMES |
If defined, some commonly used enums will have preprocessor macros which give a shorter, more convenient naming pattern.
If this isn't desired, simply comment the following line out.
For instance, E_CONTROLLER_MASTER has a shorter name: CONTROLLER_MASTER. E_CONTROLLER_MASTER is pedantically correct within the PROS styleguide, but not convienent for most student programmers.
| void autonomous | ( | void | ) |
Prototypes for the competition control tasks are redefined here to ensure that they can be called from user code (i.e.
calling autonomous from a button press in opcontrol() for testing purposes).
| void competition_initialize | ( | void | ) |
| void disabled | ( | void | ) |
| void initialize | ( | void | ) |
| void opcontrol | ( | void | ) |