A BeoSub three-dimensional attitude. More...
#include <BeoSub/Attitude.H>
Public Member Functions | |
Constructors and Destructors | |
Attitude () | |
Default Constructor. | |
~Attitude () | |
Destructor. | |
Public Attributes | |
Angle | heading |
Angle | pitch |
Angle | roll |
Angular position from compass. | |
float | depth |
depth from pressure sensor | |
double | compassTime |
double | pressureTime |
Times last measures received, in s. |
A BeoSub three-dimensional attitude.
Conventions and units are as follows: heading: ]-180.0 .. 180.0] in degrees, 0.0 is North, 45.0 is NE, etc source: compass
pitch: ]-180.0 .. 180.0] in degrees, 0.0 is horizontal, 45.0 is ??? source: compass
roll: ]-180.0 .. 180.0] in degrees, 0.0 is horisontal, 45.0 is ??? source: compass
depth: in m, axis oriented Down, positive towards Down, zero at surface
Definition at line 56 of file Attitude.H.
Attitude::Attitude | ( | ) | [inline] |
Attitude::~Attitude | ( | ) | [inline] |
Destructor.
Definition at line 87 of file Attitude.H.
float Attitude::depth |
depth from pressure sensor
Definition at line 74 of file Attitude.H.
Referenced by BeoSub::diveAbs(), BeoSubSim::diveAbs(), BeoSubSim::diveRel(), BeoSub::diveRel(), BeoSub::getDepth(), BeoSubDB::getDirections(), BeoSub::targetReached(), BeoSubOneBal::updateDepth(), and BeoSubSim::updateDepth().
double Attitude::pressureTime |
Times last measures received, in s.
Definition at line 75 of file Attitude.H.
Referenced by BeoSubOneBal::updateDepth(), and BeoSubSim::updateDepth().
Angular position from compass.
Definition at line 73 of file Attitude.H.
Referenced by BeoSub::getCompass(), BeoSubDB::getDirections(), BeoSub::getRoll(), and BeoSubOneBal::updateCompass().