com.yobotics.simulationconstructionset.simulatedSensors
Class RawSensors

java.lang.Object
  extended by com.yobotics.simulationconstructionset.simulatedSensors.RawSensors
All Implemented Interfaces:
RawIMUSensorsInterface

public class RawSensors
extends java.lang.Object
implements RawIMUSensorsInterface


Field Summary
 DoubleYoVariable r_time
           
 
Constructor Summary
RawSensors(YoVariableRegistry yoVariableRegistry)
           
 
Method Summary
 void packAcceleration(javax.vecmath.Vector3d accelerationToPack, int imuIndex)
           
 void packAngularVelocity(javax.vecmath.Vector3d angularVelocityToPack, int imuIndex)
           
 void packCompass(javax.vecmath.Vector3d compassToPack, int imuIndex)
           
 void packOrientation(javax.vecmath.Matrix3d orientationToPack, int imuIndex)
           
 void setAcceleration(javax.vecmath.Vector3d acceleration, int imuIndex)
           
 void setAngularVelocity(javax.vecmath.Vector3d gyroscope, int imuIndex)
           
 void setCompass(javax.vecmath.Vector3d compass, int imuIndex)
           
 void setOrientation(javax.vecmath.Matrix3d orientation, int imuIndex)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

r_time

public final DoubleYoVariable r_time
Constructor Detail

RawSensors

public RawSensors(YoVariableRegistry yoVariableRegistry)
Method Detail

setOrientation

public void setOrientation(javax.vecmath.Matrix3d orientation,
                           int imuIndex)
Specified by:
setOrientation in interface RawIMUSensorsInterface

setAcceleration

public void setAcceleration(javax.vecmath.Vector3d acceleration,
                            int imuIndex)
Specified by:
setAcceleration in interface RawIMUSensorsInterface

setAngularVelocity

public void setAngularVelocity(javax.vecmath.Vector3d gyroscope,
                               int imuIndex)
Specified by:
setAngularVelocity in interface RawIMUSensorsInterface

setCompass

public void setCompass(javax.vecmath.Vector3d compass,
                       int imuIndex)
Specified by:
setCompass in interface RawIMUSensorsInterface

packOrientation

public void packOrientation(javax.vecmath.Matrix3d orientationToPack,
                            int imuIndex)
Specified by:
packOrientation in interface RawIMUSensorsInterface

packAcceleration

public void packAcceleration(javax.vecmath.Vector3d accelerationToPack,
                             int imuIndex)
Specified by:
packAcceleration in interface RawIMUSensorsInterface

packAngularVelocity

public void packAngularVelocity(javax.vecmath.Vector3d angularVelocityToPack,
                                int imuIndex)
Specified by:
packAngularVelocity in interface RawIMUSensorsInterface

packCompass

public void packCompass(javax.vecmath.Vector3d compassToPack,
                        int imuIndex)
Specified by:
packCompass in interface RawIMUSensorsInterface