-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRobotMap.h
More file actions
43 lines (35 loc) · 979 Bytes
/
RobotMap.h
File metadata and controls
43 lines (35 loc) · 979 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
#ifndef ROBOTMAP_H
#define ROBOTMAP_H
// Compressor Ports
#define PRESSURE_SWITCH_PORT 1
#define COMPRESSOR_RELAY_PORT 3
// Operator Interface Ports
#define LEFT_JOYSTICK_PORT 1
#define RIGHT_JOYSTICK_PORT 2
#define GAME_PAD_PORT 3
#define LEFT_ARM_PORT 1
#define RIGHT_ARM_PORT 2
#define DRIVE_STRAIGHT_BUTTON 8
// Drive Subsystem Ports
#define LEFT_MOTOR_PORT 7
#define RIGHT_MOTOR_PORT 6
#define SHIFTER_SOLENOID_PORT_A 3
#define SHIFTER_SOLENOID_PORT_B 4
// Roller Subsystem Ports
#define ROLLER_PORT 1
// Giant Four Subsystem Ports
#define RAMP_LOCK_SOLENOID_A_PORT 1
#define RAMP_LOCK_SOLENOID_B_PORT 6
#define GIANT_FOUR_SOLENOID_A_PORT 2
#define GIANT_FOUR_SOLENOID_B_PORT 5
// Conveyor Subsystem Port
#define CONVEYOR_PORT 4
// Turret Subsystem Ports
#define LEFT_SHOOTER_PORT 2
#define RIGHT_SHOOTER_PORT 5
#define LEFT_ENCODER_A_PORT 2
#define LEFT_ENCODER_B_PORT 3
#define RIGHT_ENCODER_A_PORT 4
#define RIGHT_ENCODER_B_PORT 5
#define PAN_MOTOR_PORT 3
#endif