open class Location
A class representing where a robot is on the field. The origin is the center of the field.
val heading: Double
The heading of the robot. |
|
val isStale: Boolean
Whether this location is stale (cached as opposed to newly calculated). |
|
val pitch: Double
The pitch of the robot. |
|
val roll: Double
The roll of the robot. |
|
val visibleTarget: String
Which target is currently visible and being used to calculate the robot's location. Can be `Blue-Rover`, `Red-Footprint`, `Front-Crater`, or `Back-Space`. |
|
val x: Double
The x-coordinate of this location. Runs from audience side to opposite side. |
|
val y: Double
The y-coordinate of this location. Runs from Red Alliance Station to Blue Alliance Station. |
|
val z: Double
The z-coordinate of this location. Runs from bottom to top. |