Package | Description |
---|---|
edu.wpi.first.wpilibj |
The WPI Robotics library (WPILibJ) is a set of Java classes that interfaces to the hardware in the FRC
control system and your robot.
|
Modifier and Type | Method and Description |
---|---|
DriverStation.Alliance |
DriverStation.getAlliance()
Get the current alliance from the FMS
|
static DriverStation.Alliance |
DriverStation.Alliance.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DriverStation.Alliance[] |
DriverStation.Alliance.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2015. All rights reserved.