-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRobotMap.h
More file actions
49 lines (39 loc) · 964 Bytes
/
RobotMap.h
File metadata and controls
49 lines (39 loc) · 964 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#ifndef ROBOTMAP_H
#define ROBOTMAP_H
//CAN PORTS
#define FrontLeftCANPort 1
#define BackLeftCANPort 2
#define BackRightCANPort 3
#define FrontRightCANPort 4
#define PCMCANPort 0
#define SolenoidIPort 0
#define SolenoidIIPort 2
#define SolenoidIIIPort 4
#define SolenoidIVPort 6
//PWM PORTS
#define FrontLeftPWMPort 0
#define BackLeftPWMPort 1
#define BackRightPWMPort 2
#define FrontRightPWMPort 3
#define ClimberLeftPWMPort 4
#define ClimberRightPWMPort 5
//TURN INFORMATION
#define TURNMARGINOFERROR 0.004125
#define TURNVELOCITY 0.8
//JOYSTICK INFORMATION
#define RIGHTSTICKPORT 2
#define LEFTSTICKPORT 3
#define JOYSTICKDEADZONE 0.25
//DRIVER STICK
#define TRAVERSEBUTTON 1
#define SPINBUTTON 2
#define RESETBUTTON 11
#define CAMERASWITCHBUTTON 9
#define LOCKANGLEBUTTON 10
//OPERATOR STICK
#define DROPGEARBUTTON 5
#define CLIMBERBUTTON 1
#define PUSHGEARBUTTON 3
#define PUSHGEAROVERRIDEBUTTON 4
#define GEAROVERRIDEBUTTON 8
#endif // ROBOTMAP_H