Package edu.wpi.first.hal
Class ControlWord
java.lang.Object
edu.wpi.first.hal.ControlWord
public class ControlWord extends Object
A wrapper for the HALControlWord bitfield.
-
Constructor Summary
Constructors Constructor Description ControlWord()
-
Method Summary
Modifier and Type Method Description boolean
getAutonomous()
boolean
getDSAttached()
boolean
getEnabled()
boolean
getEStop()
boolean
getFMSAttached()
boolean
getTest()
void
update(ControlWord word)
Updates from an existing word.
-
Constructor Details
-
ControlWord
public ControlWord()
-
-
Method Details
-
update
Updates from an existing word.- Parameters:
word
- word to update from
-
getEnabled
-
getAutonomous
-
getTest
-
getEStop
-
getFMSAttached
-
getDSAttached
-