public final class NetTableController.NetTableAxis extends java.lang.Object implements HIDAxis
| Modifier and Type | Field and Description |
|---|---|
private int |
m_channel
The m_channel.
|
private double |
m_deadBand
The m_dead band.
|
private boolean |
m_invert
The m_invert.
|
| Constructor and Description |
|---|
NetTableAxis(int channel)
Instantiates a new net table axis.
|
| Modifier and Type | Method and Description |
|---|---|
double |
get()
Get the Value of the Axis.
|
void |
setBacklash(double value) |
void |
setDeadband(double value)
Set the Deadband of the Axis.
|
void |
setFineControl(double value) |
void |
setInverted(boolean inverted)
Invert the Axis.
|
void |
setRampEnd(double end) |
private boolean m_invert
private double m_deadBand
private final int m_channel
public NetTableAxis(int channel)
channel - the channelpublic double get()
get in interface NumberSourceget in interface HIDAxispublic void setInverted(boolean inverted)
setInverted in interface HIDAxispublic void setDeadband(double value)
setDeadband in interface HIDAxisvalue - the deadband value of the axis.public void setRampEnd(double end)
setRampEnd in interface HIDAxispublic void setBacklash(double value)
setBacklash in interface HIDAxispublic void setFineControl(double value)
setFineControl in interface HIDAxis