LightLib
PROS library for VEX V5: EKF/MCL localization, RAMSETE path following, high-level chassis API
Loading...
Searching...
No Matches
main.h
Go to the documentation of this file.
1
15#ifndef _PROS_MAIN_H_
16#define _PROS_MAIN_H_
17
27#define PROS_USE_SIMPLE_NAMES
28
35#define PROS_USE_LITERALS
36
37#include "LightLib/lib.hpp"
38
42// #include "okapi/api.hpp"
43// #include "pros/api_legacy.h"
44
45// More includes here...
46#include "autons.hpp"
47#include "subsystems.hpp"
50#include "LightLib/drive.hpp"
56
65// using namespace pros;
66// using namespace pros::literals;
67// using namespace okapi;
68// using namespace light;
69using namespace okapi::literals;
70
77#ifdef __cplusplus
78extern "C" {
79#endif
80void autonomous(void);
81void initialize(void);
82void disabled(void);
84void opcontrol(void);
85#ifdef __cplusplus
86}
87#endif
88
89#ifdef __cplusplus
93//#include <iostream>
94#endif
95
96#endif // _PROS_MAIN_H_
Quintic Hermite spline over 2-D waypoints.
On-brain auton picker with PID and odom side panels.
Simple wall-clock helpers anchored at the start of the autonomous routine.
Autonomous routine declarations.
(top-level)
Holonomic and H-drive chassis classes (alternatives to the tank Drive).
Umbrella header for LightLib's own classes.
void competition_initialize(void)
void opcontrol(void)
void autonomous(void)
Prototypes for the competition control tasks are redefined here to ensure that they can be called fro...
void disabled(void)
void initialize(void)
Live on-brain PID tuner.
RAMSETE trajectory follower public API.
Robot subsystem declarations: motors, sensors, and pistons.
Time-parameterized trajectory over a Spline.