-
Notifications
You must be signed in to change notification settings - Fork 0
/
ids.py
55 lines (38 loc) · 811 Bytes
/
ids.py
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
50
51
52
53
54
55
import enum
@enum.unique
class TalonIds(enum.IntEnum):
drive_1 = 1
steer_1 = 5
drive_2 = 2
steer_2 = 6
drive_3 = 3
steer_3 = 7
drive_4 = 4
steer_4 = 8
intake_tunnel = 10
shooter_back = 12
@enum.unique
class CancoderIds(enum.IntEnum):
swerve_1 = 1
swerve_2 = 2
swerve_3 = 3
swerve_4 = 4
@enum.unique
class SparkMaxIds(enum.IntEnum):
intake_front = 3
turret_motor = 1
tilt_motor = 2
top_flywheel = 10
bottom_flywheel = 11
@enum.unique
class PhChannels(enum.IntEnum):
intake_piston_forward = 0
intake_piston_reverse = 1
@enum.unique
class PwmChannels(enum.IntEnum):
pass
@enum.unique
class DioChannels(enum.IntEnum):
positive_turret_switch = 1
negative_turret_switch = 2
tilt_absolute_encoder = 3