ohmm
Class OHMMDrive.DriveState

java.lang.Object
  extended by ohmm.OHMMDrive.DriveState
Enclosing class:
OHMMDrive

public class OHMMDrive.DriveState
extends java.lang.Object

state data structure for OHMMDrive.driveState(ohmm.OHMMDrive.DriveState)


Field Summary
 float orientationGoal
          orientation servo goal or NaN if not set
 int queue
          drive queue size
 float t
          odometric world frame orientation in radians
 float v
          forward velocity in mm/s
 float w
          rotation velocity in rad/s
 float x
          odometric world frame location in mm
 float y
          odometric world frame location in mm
 
Constructor Summary
OHMMDrive.DriveState()
           
 
Method Summary
 void recv()
          receive all fields
 java.lang.String toString()
          make a human readable message string summarizing the state
(package private)  java.lang.StringBuilder toString(java.lang.StringBuilder sb)
          helper for toString()
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

v

public float v
forward velocity in mm/s


w

public float w
rotation velocity in rad/s


x

public float x
odometric world frame location in mm


y

public float y
odometric world frame location in mm


t

public float t
odometric world frame orientation in radians


queue

public int queue
drive queue size


orientationGoal

public float orientationGoal
orientation servo goal or NaN if not set

Constructor Detail

OHMMDrive.DriveState

public OHMMDrive.DriveState()
Method Detail

recv

public void recv()
receive all fields


toString

public java.lang.String toString()
make a human readable message string summarizing the state

Overrides:
toString in class java.lang.Object

toString

java.lang.StringBuilder toString(java.lang.StringBuilder sb)
helper for toString()