CSWGyroCompass Class Reference

Inheritance diagram for CSWGyroCompass:

Inheritance graph
[legend]
List of all members.

Public Member Functions

const Vector3D & getForwardDirection () const
const Vector3D & getUpDirection () const
double getInclination ()
double getDirection ()
double getAxialInclination ()

Detailed Description

This class provides Compass like functionality.


Member Function Documentation

const Vector3D & CSWGyroCompass::getForwardDirection (  )  const

Returns the forward direction in world coordinates.

const Vector3D & CSWGyroCompass::getUpDirection (  )  const

Returns the up direction in world coordinates.

double CSWGyroCompass::getInclination (  ) 

Returns the absolute inclination of the sensor in degree [-90, 90]. (nose from down to up) (rotation about x)

double CSWGyroCompass::getDirection (  ) 

Returns the absolute rotation of the sensor in degree [0, 360]. (nose from left to right) (rotation about y)

double CSWGyroCompass::getAxialInclination (  ) 

Returns the absolute axial inclination of the sensor in degree [-180, 180]. (turret from left to right) (rotation about z)


Generated at 2 Jan 2007 for project CodeSubWars. www.codesubwars.org