LightLib
PROS library for VEX V5: EKF/MCL localization, RAMSETE path following, high-level chassis API
Loading...
Searching...
No Matches
namespaces.hpp
Go to the documentation of this file.
1#pragma once
2
3#ifdef __cplusplus
4
5#include "pros/abstract_motor.hpp"
6#include "pros/adi.hpp"
7#include "pros/colors.hpp"
8#include "pros/device.hpp"
9#include "pros/distance.hpp"
10#include "pros/gps.hpp"
11#include "pros/imu.hpp"
12#include "pros/link.hpp"
13#include "pros/llemu.hpp"
14#include "pros/misc.hpp"
15#include "pros/motor_group.hpp"
16#include "pros/motors.hpp"
17#include "pros/optical.hpp"
18#include "pros/rotation.hpp"
19#include "pros/rtos.hpp"
20#include "pros/screen.hpp"
21#include "pros/vision.hpp"
22
26
27namespace light {
28
29using ::pros::Motor;
30using ::pros::MotorGroup;
31using ::pros::AbstractMotor;
32using ::pros::Controller;
33using ::pros::Imu;
34using ::pros::Rotation;
35using ::pros::Distance;
36using ::pros::Optical;
37using ::pros::Gps;
38using ::pros::Vision;
39using ::pros::Mutex;
40using ::pros::Task;
41
42using ::pros::motor_brake_mode_e_t;
43using ::pros::controller_digital_e_t;
44using ::pros::controller_analog_e_t;
45using ::pros::controller_id_e_t;
46
47using ::pros::E_CONTROLLER_MASTER;
48using ::pros::E_CONTROLLER_PARTNER;
49using ::pros::E_CONTROLLER_ANALOG_LEFT_X;
50using ::pros::E_CONTROLLER_ANALOG_LEFT_Y;
51using ::pros::E_CONTROLLER_ANALOG_RIGHT_X;
52using ::pros::E_CONTROLLER_ANALOG_RIGHT_Y;
53using ::pros::E_CONTROLLER_DIGITAL_L1;
54using ::pros::E_CONTROLLER_DIGITAL_L2;
55using ::pros::E_CONTROLLER_DIGITAL_R1;
56using ::pros::E_CONTROLLER_DIGITAL_R2;
57using ::pros::E_CONTROLLER_DIGITAL_UP;
58using ::pros::E_CONTROLLER_DIGITAL_DOWN;
59using ::pros::E_CONTROLLER_DIGITAL_LEFT;
60using ::pros::E_CONTROLLER_DIGITAL_RIGHT;
61using ::pros::E_CONTROLLER_DIGITAL_X;
62using ::pros::E_CONTROLLER_DIGITAL_B;
63using ::pros::E_CONTROLLER_DIGITAL_Y;
64using ::pros::E_CONTROLLER_DIGITAL_A;
65using ::pros::E_MOTOR_BRAKE_COAST;
66using ::pros::E_MOTOR_BRAKE_BRAKE;
67using ::pros::E_MOTOR_BRAKE_HOLD;
68
69using ::pros::delay;
70using ::pros::millis;
71using ::pros::micros;
72
73namespace adi { using namespace ::pros::adi; }
74namespace lcd { using namespace ::pros::lcd; }
75namespace c { using namespace ::pros::c; }
76namespace usd { using namespace ::pros::usd; }
77namespace battery { using namespace ::pros::battery; }
78namespace competition { using namespace ::pros::competition; }
79
80using ::okapi::QLength;
81using ::okapi::QAngle;
82using ::okapi::QTime;
83
84using ::okapi::inch;
85using ::okapi::degree;
86using ::okapi::millisecond;
87
88inline namespace literals {
89 using namespace ::okapi::literals;
90}
91
92} // namespace light
93
94#endif // __cplusplus
Public LightLib odometry / pose-estimation API.
Definition pid.hpp:22