forked from isubsmith/rc2020
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.py
More file actions
30 lines (23 loc) · 751 Bytes
/
Copy pathconstants.py
File metadata and controls
30 lines (23 loc) · 751 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
LEFT_CHASSIS_MOTORS = [1, 2]
RIGHT_CHASSIS_MOTORS = [3, 4]
TURRET_CLOCKWISE_LIMIT_SWITCH = 0
TURRET_COUNTERCLOCKWISE_LIMIT_SWITCH = 1
TURRET_TURN_MOTOR = 5
TURRET_SHOOT_MOTORS = [9, 10] # Or whatever these values will be.
MAGAZINE_FEED_MOTOR = 6
MAGAZINE_LEFT_MOTOR = 7
MAGAZINE_RIGHT_MOTOR = 8
SINGULATOR_IDS = [0, 0, 0, 0] # Plug in these values later. Cheers!
# This is the motor that feeds balls into the shooter.
MAGAZINE_INDEX_MOTOR = None
# This is the motor that takes in balls from the intake.
MAGAZINE_FROM_INTAKE_MOTOR = None
# This is the motor that moves the balls into the indexer.
MAGAZINE_RIGHT_MOTOR = None
TRACKWIDTH = 0.6477
RAMSETE_MAX_VELOCITY = 4
RAMSETE_MAX_ACCELERATION = 3
PCM_ID = 19
kS = 0.333
kV = 4.06
kA = 0.118