BowlerKernel
Public Member Functions | Private Attributes | List of all members
com.neuronrobotics.sdk.pid.PIDLimitEvent Class Reference
Collaboration diagram for com.neuronrobotics.sdk.pid.PIDLimitEvent:
Collaboration graph
[legend]

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
 

Detailed Description

The Class PIDLimitEvent.

Definition at line 10 of file PIDLimitEvent.java.

Constructor & Destructor Documentation

◆ PIDLimitEvent() [1/2]

com.neuronrobotics.sdk.pid.PIDLimitEvent.PIDLimitEvent ( int  chan,
double  tick,
PIDLimitEventType  type,
long  time 
)

Instantiates a new PID limit event.

Parameters
chanthe chan
tickthe tick
typethe type
timethe 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().

Here is the call graph for this function:

◆ PIDLimitEvent() [2/2]

com.neuronrobotics.sdk.pid.PIDLimitEvent.PIDLimitEvent ( BowlerDatagram  data)

Member Function Documentation

◆ getGroup()

int com.neuronrobotics.sdk.pid.PIDLimitEvent.getGroup ( )

◆ getLimitType()

PIDLimitEventType com.neuronrobotics.sdk.pid.PIDLimitEvent.getLimitType ( )

Gets the limit type.

Returns
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().

◆ getTimeStamp()

long com.neuronrobotics.sdk.pid.PIDLimitEvent.getTimeStamp ( )

Gets the time stamp.

Returns
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().

◆ getValue()

double com.neuronrobotics.sdk.pid.PIDLimitEvent.getValue ( )

Gets the value.

Returns
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().

◆ setGroup()

void com.neuronrobotics.sdk.pid.PIDLimitEvent.setGroup ( int  channel)

Sets the group.

Parameters
channelthe 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().

◆ setLimitType()

void com.neuronrobotics.sdk.pid.PIDLimitEvent.setLimitType ( PIDLimitEventType  limitIndex)

Sets the limit type.

Parameters
limitIndexthe new limit type

Definition at line 122 of file PIDLimitEvent.java.

Referenced by com.neuronrobotics.sdk.pid.PIDLimitEvent.PIDLimitEvent().

◆ setTimeStamp()

void com.neuronrobotics.sdk.pid.PIDLimitEvent.setTimeStamp ( long  timeStamp)

Sets the time stamp.

Parameters
timeStampthe 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().

◆ setValue()

void com.neuronrobotics.sdk.pid.PIDLimitEvent.setValue ( double  ticks)

Sets the value.

Parameters
ticksthe 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().

◆ toString()

String com.neuronrobotics.sdk.pid.PIDLimitEvent.toString ( )

Member Data Documentation

◆ channel

int com.neuronrobotics.sdk.pid.PIDLimitEvent.channel
private

◆ limitType

PIDLimitEventType com.neuronrobotics.sdk.pid.PIDLimitEvent.limitType
private

◆ ticks

double com.neuronrobotics.sdk.pid.PIDLimitEvent.ticks
private

◆ timeStamp

long com.neuronrobotics.sdk.pid.PIDLimitEvent.timeStamp
private

The documentation for this class was generated from the following file: