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
"
48
#include "
LightLib/ui/auton_selector.hpp
"
49
#include "
LightLib/control/pid_tuner.hpp
"
50
#include "
LightLib/drive.hpp
"
51
#include "
LightLib/drive/holo_drive.hpp
"
52
#include "
LightLib/util/auton_timer.hpp
"
53
#include "
LightLib/path/spline.hpp
"
54
#include "
LightLib/path/trajectory.hpp
"
55
#include "
LightLib/path/ramsete.hpp
"
56
65
// using namespace pros;
66
// using namespace pros::literals;
67
// using namespace okapi;
68
// using namespace light;
69
using namespace
okapi::literals
;
70
77
#ifdef __cplusplus
78
extern
"C"
{
79
#endif
80
void
autonomous
(
void
);
81
void
initialize
(
void
);
82
void
disabled
(
void
);
83
void
competition_initialize
(
void
);
84
void
opcontrol
(
void
);
85
#ifdef __cplusplus
86
}
87
#endif
88
89
#ifdef __cplusplus
93
//#include <iostream>
94
#endif
95
96
#endif
// _PROS_MAIN_H_
spline.hpp
Quintic Hermite spline over 2-D waypoints.
auton_selector.hpp
On-brain auton picker with PID and odom side panels.
auton_timer.hpp
Simple wall-clock helpers anchored at the start of the autonomous routine.
autons.hpp
Autonomous routine declarations.
drive.hpp
(top-level)
holo_drive.hpp
Holonomic and H-drive chassis classes (alternatives to the tank Drive).
lib.hpp
Umbrella header for LightLib's own classes.
competition_initialize
void competition_initialize(void)
opcontrol
void opcontrol(void)
autonomous
void autonomous(void)
Prototypes for the competition control tasks are redefined here to ensure that they can be called fro...
disabled
void disabled(void)
initialize
void initialize(void)
okapi::literals
Definition
QAcceleration.hpp:22
pid_tuner.hpp
Live on-brain PID tuner.
ramsete.hpp
RAMSETE trajectory follower public API.
subsystems.hpp
Robot subsystem declarations: motors, sensors, and pistons.
trajectory.hpp
Time-parameterized trajectory over a Spline.
include
LightLib
main.h
Generated by
1.9.8