Members
(constant) BLUE :number
The blue alliance.
Type:
- number
- Source:
(constant) BOTTOM :number
Represents the bottom row of the scoring grid.
Type:
- number
- Source:
(constant) CENTER :number
Center represents the center of the field. Used for the starting position.
Type:
- number
- Source:
(constant) CONE :number
CONE represents a cone in the inventory.
Type:
- number
- Source:
(constant) CUBE :number
CUBE represents a cube in the inventory.
Type:
- number
- Source:
(constant) EMPTY :number
EMPTY represents an empty inventory.
Type:
- number
- Source:
(constant) EVENT_TYPES
Properties:
Name | Type | Description |
---|---|---|
PICK_UP_PIECE |
string | An event in which a piece was picked up. |
DROP_PIECE |
string | An event in which a piece was dropped. |
SCORE_PIECE |
string | An event in which a piece was scored. |
DISLODGE_PIECE |
string | An event in which a piece was dislodged from the grid. |
EARN_MOBILITY_BONUS |
string | An event in which a robot earns the mobility bonus. |
DISABLED |
string | An event in which a robot is disabled. |
ENABLED |
string | An event in which a robot is reenabled. |
CHARGE_STATION_DOCK |
string | An event in which a robot docks with the charge station. |
CHARGE_STATION_ENGAGE |
string | An event in which a robot engages with the charge station. |
- Source:
(constant) LEFT :number
Left represents the left side of the field. Used for the starting position.
Type:
- number
- Source:
(constant) MIDDLE :number
Represents the middle row of the scoring grid.
Type:
- number
- Source:
(constant) PICKUP
Properties:
Name | Type | Description |
---|---|---|
FIELD |
number | The field. |
SINGLE |
number | A single game piece. |
DOUBLE |
number | A double game piece. |
- Source:
(constant) POINT_VALUES
Properties:
Name | Type | Description | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
AUTO |
Object | The point values for the autonomous period.
Properties
|
||||||||||||||||||||||||||||||
TELEOP |
Object | The point values for the teleoperated period.
Properties
|
- Source:
(constant) RED :number
The red alliance.
Type:
- number
- Source:
(constant) RIGHT :number
Right represents the right side of the field. Used for the starting position.
Type:
- number
- Source:
(constant) TOP :number
Represents the top row of the scoring grid.
Type:
- number
- Source: