| 
 | |||||||||
| 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(java.lang.String moduleType,
                       int moduleNumber,
                       int channel,
                       LiveWindowSendable component)Add Actuator to LiveWindow. | 
| static void | addActuator(java.lang.String subsystem,
                       java.lang.String name,
                       LiveWindowSendable component)Add an Actuator associated with the subsystem and with call it by the given name. | 
| static void | addSensor(java.lang.String moduleType,
                   int moduleNumber,
                   int channel,
                   LiveWindowSendable component)Add Sensor to LiveWindow. | 
| static void | addSensor(java.lang.String subsystem,
                   java.lang.String name,
                   LiveWindowSendable component)Add a Sensor associated with the subsystem and with call it by the given name. | 
| static void | run()The run method is called repeatedly to keep the values refreshed on the screen in test mode. | 
| static void | setEnabled(boolean enabled)Set the enabled state of LiveWindow. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, 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(java.lang.String subsystem,
                             java.lang.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(java.lang.String subsystem,
                               java.lang.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.
public static void addSensor(java.lang.String moduleType,
                             int moduleNumber,
                             int channel,
                             LiveWindowSendable component)
moduleType - A string indicating the type of the module used in the
 naming (above)moduleNumber - The number of the particular module typechannel - The channel number the device is connected tocomponent - A reference to the object being added
public static void addActuator(java.lang.String moduleType,
                               int moduleNumber,
                               int channel,
                               LiveWindowSendable component)
moduleType - A string that defines the module name in the label for
 the valuemoduleNumber - The number of the particular module typechannel - The channel number the device is plugged into (usually
 PWM)component - The reference to the object being added| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||