41103C 26/27
Documentation for 41103C 1/3 for the 2026/2027 Vex V5 Season Override
Loading...
Searching...
No Matches
main.h
1#ifndef _PROS_MAIN_H_
2#define _PROS_MAIN_H_
3
4#define PROS_USE_SIMPLE_NAMES
5#define PROS_USE_LITERALS
6
7#include "api.h"
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12 void autonomous(void);
13 void initialize(void);
14 void disabled(void);
15 void competition_initialize(void);
16 void opcontrol(void);
17 void distUpdate(void);
18
19
20
21#ifdef __cplusplus
22}
23#endif
24
25#ifdef __cplusplus
26#include <math.h>
27#include <vector>
28#include <string>
29#endif
30
31// Our stuff
32#include "helpers.hpp"
33#include "odom.hpp"
34#include "autonSelector.hpp"
35#include "driver.hpp"
36#include "auton.hpp"
37#include "controls.h"
38
39class Odom;
40
41const float DRIVEKP = 0;
42const float DRIVEKI = 0;
43const float DRIVEKD = 0;
44
45const float TURNKP = 0;
46const float TURNKI = 0;
47const float TURNKD = 0;
48
49const float WHEEL_DIAMETER_IN = 4;
50const float WHEEL_DIAMETER_MM = WHEEL_DIAMETER_IN * IN_TO_MM;
51const float WHEEL_CIRCUMFERENCE = PI * WHEEL_DIAMETER_MM;
52
53// AutonSelector Selector = AutonSelector();
54extern bool isAuton;
55
56#endif // _PROS_MAIN_H_