|
" 2013 FRC Java API " |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.wpi.first.wpilibj.livewindow.LiveWindow
public class LiveWindow
The LiveWindow class is the public interface for putting sensors and actuators on the LiveWindow.
Constructor Summary | |
---|---|
LiveWindow()
|
Method Summary | |
---|---|
static void |
addActuator(String subsystem,
String name,
LiveWindowSendable component)
Add an Actuator associated with the subsystem and with call it by the given name. |
static void |
addSensor(String subsystem,
String name,
LiveWindowSendable component)
Add a Sensor associated with the subsystem and with call it by the given name. |
static void |
run()
|
static void |
setEnabled(boolean enabled)
Set the enabled state of LiveWindow. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LiveWindow()
Method Detail |
---|
public static void setEnabled(boolean enabled)
public static void run()
public static void addSensor(String subsystem, String name, LiveWindowSendable component)
subsystem
- The subsystem this component is part of.name
- The name of this component.component
- A LiveWindowSendable component that represents a sensor.public static void addActuator(String subsystem, String name, LiveWindowSendable component)
subsystem
- The subsystem this component is part of.name
- The name of this component.component
- A LiveWindowSendable component that represents a
actuator.
|
" 2013 FRC Java API " |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |