-
Notifications
You must be signed in to change notification settings - Fork 0
Owner's Manual
Trevor edited this page Mar 1, 2019
·
2 revisions
The elevator's height is determined by a state machine consisting of two variables, level and offset.
The level is an integer which ranges from 0-2, and corresponds to the objective's level on the field, one through three. It is indicated by three boxes on the dashboard, which light up when their corresponding level is selected. Level is the only direct control the driver possesses over the elevator, and can be changed with <LB> and <RB>.
Level | Objectives |
---|---|
0 | Loading stations, cargo ship, 1st rocket level |
1 | 2nd rocket level |
2 | 3rd rocket level |
The offset is an enumeration which controls where the elevator is relative to the selected level. Each offset has a value in inches which governs how far the elevator will move. Offset is automatically controlled based on what game piece is present.
Offset | Description |
---|---|
INTAKE |
The base height at which pieces are intaked. |
CARGO_DELIVERY |
Used when the robot is in possession of cargo. |
CARGO_L3_DELIVERY |
Special case for level 3 cargo which prevents the elevator from running too high. |
HATCH_DELIVERY |
Used when the robot is in possession of a hatch panel. |