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
All Methods Instance Methods Concrete Methods 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 Detail
-
ControlWord
public ControlWord()
-
-
Method Detail
-
update
public void update(ControlWord word)
Updates from an existing word.- Parameters:
word
- word to update from
-
getEnabled
public boolean getEnabled()
-
getAutonomous
public boolean getAutonomous()
-
getTest
public boolean getTest()
-
getEStop
public boolean getEStop()
-
getFMSAttached
public boolean getFMSAttached()
-
getDSAttached
public boolean getDSAttached()
-
-