VectorNav .NET Library
Static Public Member Functions | Properties | List of all members
VectorNav.Math.AttitudeF Struct Reference

Representation of an orientation/attitude. More...

Static Public Member Functions

static AttitudeF FromQuat (quatf quat)
 Creates a new AttitudeF from a quaternion. More...
 
static AttitudeF FromYprInDegs (vec3f ypr)
 Creates a new AttitudeF from yaw, pitch, roll in degrees. More...
 
static AttitudeF FromYprInRads (vec3f ypr)
 Creates a new AttitudeF from yaw, pitch, roll in radians. More...
 
static AttitudeF FromDcm (mat3f dcm)
 Creates a new AttitudeF from a direction cosine matrix. More...
 

Properties

static AttitudeF NoRotation [get]
 Returns an AttitudeF representing no rotation. More...
 
vec3f YprInDegs [get]
 Returns the orientation as represented in yaw, pitch, roll in degrees. More...
 
vec3f YprInRads [get]
 Returns the orientation as represented in yaw, pitch, roll in radians. More...
 
quatf Quat [get]
 Returns the orientation as represented in quaternion. More...
 
mat3f Dcm [get]
 Returns the orientation as represented by a direction cosine matrix. More...
 

Detailed Description

Representation of an orientation/attitude.

Member Function Documentation

static AttitudeF VectorNav.Math.AttitudeF.FromDcm ( mat3f  dcm)
static

Creates a new AttitudeF from a direction cosine matrix.

Parameters
dcmThe direction cosine matrix.
Returns
The new AttitudeF.
static AttitudeF VectorNav.Math.AttitudeF.FromQuat ( quatf  quat)
static

Creates a new AttitudeF from a quaternion.

Parameters
quatThe orientation expressed as a quaternion.
Returns
The new AttitudeF.
static AttitudeF VectorNav.Math.AttitudeF.FromYprInDegs ( vec3f  ypr)
static

Creates a new AttitudeF from yaw, pitch, roll in degrees.

Parameters
yprThe yaw, pitch, roll in degrees.
Returns
The new AttitudeF.
static AttitudeF VectorNav.Math.AttitudeF.FromYprInRads ( vec3f  ypr)
static

Creates a new AttitudeF from yaw, pitch, roll in radians.

Parameters
yprThe yaw, pitch, roll in radians.
Returns
The new AttitudeF.

Property Documentation

mat3f VectorNav.Math.AttitudeF.Dcm
get

Returns the orientation as represented by a direction cosine matrix.

AttitudeF VectorNav.Math.AttitudeF.NoRotation
staticget

Returns an AttitudeF representing no rotation.

quatf VectorNav.Math.AttitudeF.Quat
get

Returns the orientation as represented in quaternion.

vec3f VectorNav.Math.AttitudeF.YprInDegs
get

Returns the orientation as represented in yaw, pitch, roll in degrees.

vec3f VectorNav.Math.AttitudeF.YprInRads
get

Returns the orientation as represented in yaw, pitch, roll in radians.


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