LRAUV  revA
SimResultStruct Struct Reference

A struct of values that is passed from the Simulator to the LRAUV, with the results from one timestep of the simulator. More...

#include <SimResultStruct.h>

Public Member Functions

 SimResultStruct ()
 Constructor. More...
 

Public Attributes

union {
   char   errorMessage_ [32 *4]
 
   struct {
      int8_t   errorPad_
 
      int16_t   utmZone_
 
      int8_t   northernHemi_
 
      float   propOmega_
 
      float   propThrust_
 
      float   propTorque_
 
      float   rudderAngle_
 
      float   elevatorAngle_
 
      float   massPosition_
 
      float   buoyancyPosition_
 
      float   depth_
 
      float   roll_
 
      float   pitch_
 
      float   heading_
 
      float   speed_
 
      double   latitudeDeg_
 
      double   longitudeDeg_
 
      float   netBuoy_
 
      float   forceX_
 
      float   forceY_
 
      float   forceZ_
 
      double   posX_
 
      double   posY_
 
      float   posZ_
 
      float   posRoll_
 
      float   posPitch_
 
      float   posHeading_
 
      float   posXDot_
 
      float   posYDot_
 
      float   posZDot_
 
      float   rateU_
 
      float   rateV_
 
      float   rateW_
 
      float   rateP_
 
      float   rateQ_
 
      float   rateR_
 
      float   northCurrent_
 
      float   eastCurrent_
 
      float   vertCurrent_
 
      float   magneticVariation_
 
      float   soundSpeed_
 
      float   temperature_
 
      float   salinity_
 
      float   density_
 
   } 
 
}; 
 

Detailed Description

A struct of values that is passed from the Simulator to the LRAUV, with the results from one timestep of the simulator.

Constructor & Destructor Documentation

SimResultStruct::SimResultStruct ( )
inline

Constructor.

References errorMessage_.

Member Data Documentation

union { ... }
float SimResultStruct::buoyancyPosition_
float SimResultStruct::density_
float SimResultStruct::depth_
float SimResultStruct::eastCurrent_
float SimResultStruct::elevatorAngle_
int8_t SimResultStruct::errorPad_
float SimResultStruct::forceX_
float SimResultStruct::forceY_
float SimResultStruct::forceZ_
float SimResultStruct::heading_
float SimResultStruct::magneticVariation_
float SimResultStruct::massPosition_
float SimResultStruct::netBuoy_
float SimResultStruct::northCurrent_
int8_t SimResultStruct::northernHemi_

Referenced by Simulator::publishState().

float SimResultStruct::pitch_
float SimResultStruct::posHeading_
float SimResultStruct::posPitch_
float SimResultStruct::posRoll_
double SimResultStruct::posX_
float SimResultStruct::posXDot_
double SimResultStruct::posY_
float SimResultStruct::posYDot_
float SimResultStruct::posZ_
float SimResultStruct::posZDot_
float SimResultStruct::propOmega_
float SimResultStruct::propThrust_
float SimResultStruct::propTorque_
float SimResultStruct::rateP_
float SimResultStruct::rateQ_
float SimResultStruct::rateR_
float SimResultStruct::rateU_
float SimResultStruct::rateV_
float SimResultStruct::rateW_
float SimResultStruct::roll_
float SimResultStruct::rudderAngle_
float SimResultStruct::salinity_
float SimResultStruct::soundSpeed_
float SimResultStruct::speed_
float SimResultStruct::temperature_
int16_t SimResultStruct::utmZone_

Referenced by Simulator::publishState().

float SimResultStruct::vertCurrent_

Referenced by Simulator::publishState().


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