BowlerKernel
|
Public Member Functions | |
PIDLimitEvent (int chan, double tick, PIDLimitEventType type, long time) | |
PIDLimitEvent (BowlerDatagram data) | |
void | setGroup (int channel) |
int | getGroup () |
void | setValue (double ticks) |
double | getValue () |
void | setTimeStamp (long timeStamp) |
long | getTimeStamp () |
String | toString () |
void | setLimitType (PIDLimitEventType limitIndex) |
PIDLimitEventType | getLimitType () |
Private Attributes | |
int | channel |
double | ticks |
long | timeStamp |
PIDLimitEventType | limitType |
The Class PIDLimitEvent.
Definition at line 10 of file PIDLimitEvent.java.
com.neuronrobotics.sdk.pid.PIDLimitEvent.PIDLimitEvent | ( | int | chan, |
double | tick, | ||
PIDLimitEventType | type, | ||
long | time | ||
) |
Instantiates a new PID limit event.
chan | the chan |
tick | the tick |
type | the type |
time | the time |
Definition at line 32 of file PIDLimitEvent.java.
References com.neuronrobotics.sdk.pid.PIDLimitEvent.setGroup(), com.neuronrobotics.sdk.pid.PIDLimitEvent.setLimitType(), com.neuronrobotics.sdk.pid.PIDLimitEvent.setTimeStamp(), and com.neuronrobotics.sdk.pid.PIDLimitEvent.setValue().
com.neuronrobotics.sdk.pid.PIDLimitEvent.PIDLimitEvent | ( | BowlerDatagram | data | ) |
Instantiates a new PID limit event.
data | the data |
Definition at line 45 of file PIDLimitEvent.java.
References com.neuronrobotics.sdk.common.ByteList.convertToInt(), com.neuronrobotics.sdk.pid.PIDLimitEventType.get(), com.neuronrobotics.sdk.common.ByteList.getByte(), com.neuronrobotics.sdk.common.ByteList.getBytes(), com.neuronrobotics.sdk.common.BowlerDatagram.getData(), com.neuronrobotics.sdk.common.BowlerDatagram.getRPC(), com.neuronrobotics.sdk.pid.PIDLimitEvent.setGroup(), com.neuronrobotics.sdk.pid.PIDLimitEvent.setLimitType(), com.neuronrobotics.sdk.pid.PIDLimitEvent.setTimeStamp(), and com.neuronrobotics.sdk.pid.PIDLimitEvent.setValue().
int com.neuronrobotics.sdk.pid.PIDLimitEvent.getGroup | ( | ) |
Gets the group.
Definition at line 69 of file PIDLimitEvent.java.
References com.neuronrobotics.sdk.pid.PIDLimitEvent.channel.
Referenced by com.neuronrobotics.sdk.addons.kinematics.AbstractKinematicsNR.onPIDLimitEvent(), and com.neuronrobotics.sdk.pid.PIDChannel.setPid().
PIDLimitEventType com.neuronrobotics.sdk.pid.PIDLimitEvent.getLimitType | ( | ) |
Gets the limit type.
Definition at line 131 of file PIDLimitEvent.java.
References com.neuronrobotics.sdk.pid.PIDLimitEvent.limitType.
Referenced by com.neuronrobotics.sdk.addons.kinematics.JointLimit.JointLimit().
long com.neuronrobotics.sdk.pid.PIDLimitEvent.getTimeStamp | ( | ) |
Gets the time stamp.
Definition at line 105 of file PIDLimitEvent.java.
References com.neuronrobotics.sdk.pid.PIDLimitEvent.timeStamp.
Referenced by com.neuronrobotics.sdk.addons.kinematics.JointLimit.JointLimit().
double com.neuronrobotics.sdk.pid.PIDLimitEvent.getValue | ( | ) |
Gets the value.
Definition at line 87 of file PIDLimitEvent.java.
References com.neuronrobotics.sdk.pid.PIDLimitEvent.ticks.
Referenced by com.neuronrobotics.sdk.addons.kinematics.JointLimit.JointLimit().
void com.neuronrobotics.sdk.pid.PIDLimitEvent.setGroup | ( | int | channel | ) |
Sets the group.
channel | the new group |
Definition at line 60 of file PIDLimitEvent.java.
References com.neuronrobotics.sdk.pid.PIDLimitEvent.channel.
Referenced by com.neuronrobotics.sdk.pid.PIDLimitEvent.PIDLimitEvent().
void com.neuronrobotics.sdk.pid.PIDLimitEvent.setLimitType | ( | PIDLimitEventType | limitIndex | ) |
Sets the limit type.
limitIndex | the new limit type |
Definition at line 122 of file PIDLimitEvent.java.
Referenced by com.neuronrobotics.sdk.pid.PIDLimitEvent.PIDLimitEvent().
void com.neuronrobotics.sdk.pid.PIDLimitEvent.setTimeStamp | ( | long | timeStamp | ) |
Sets the time stamp.
timeStamp | the new time stamp |
Definition at line 96 of file PIDLimitEvent.java.
References com.neuronrobotics.sdk.pid.PIDLimitEvent.timeStamp.
Referenced by com.neuronrobotics.sdk.pid.PIDLimitEvent.PIDLimitEvent().
void com.neuronrobotics.sdk.pid.PIDLimitEvent.setValue | ( | double | ticks | ) |
Sets the value.
ticks | the new value |
Definition at line 78 of file PIDLimitEvent.java.
References com.neuronrobotics.sdk.pid.PIDLimitEvent.ticks.
Referenced by com.neuronrobotics.sdk.pid.PIDLimitEvent.PIDLimitEvent().
String com.neuronrobotics.sdk.pid.PIDLimitEvent.toString | ( | ) |
|
private |
The channel.
Definition at line 13 of file PIDLimitEvent.java.
Referenced by com.neuronrobotics.sdk.pid.PIDLimitEvent.getGroup(), com.neuronrobotics.sdk.pid.PIDLimitEvent.setGroup(), and com.neuronrobotics.sdk.pid.PIDLimitEvent.toString().
|
private |
The limit type.
Definition at line 22 of file PIDLimitEvent.java.
Referenced by com.neuronrobotics.sdk.pid.PIDLimitEvent.getLimitType(), and com.neuronrobotics.sdk.pid.PIDLimitEvent.toString().
|
private |
The ticks.
Definition at line 16 of file PIDLimitEvent.java.
Referenced by com.neuronrobotics.sdk.pid.PIDLimitEvent.getValue(), com.neuronrobotics.sdk.pid.PIDLimitEvent.setValue(), and com.neuronrobotics.sdk.pid.PIDLimitEvent.toString().
|
private |
The time stamp.
Definition at line 19 of file PIDLimitEvent.java.
Referenced by com.neuronrobotics.sdk.pid.PIDLimitEvent.getTimeStamp(), com.neuronrobotics.sdk.pid.PIDLimitEvent.setTimeStamp(), and com.neuronrobotics.sdk.pid.PIDLimitEvent.toString().