MipResources::attitudeUav Class Reference
[Offliner Task]

Class to represent attitude of an UAV (roll and pitch are mandatory, yaw is optional), associated with time. More...

#include <OfflineUav.h>

List of all members.

Public Member Functions

 attitudeUav ()
 Default constructor.
 attitudeUav (const SimTime &time, const Orientation3D &att)
 Complete constructor.
 attitudeUav (const SimTime &time, const Decimal &roll, const Decimal &pitch, const Decimal &yaw)
 Complete constructor.
 attitudeUav (const SimTime &time, const Decimal &roll, const Decimal &pitch)
 Complete constructor.
 attitudeUav (stringstream &ss, bool opt)
 Complete constructor.
 ~attitudeUav ()
 Default destructor.
attitudeUavoperator= (const attitudeUav &mc)
 Copy operator.
 attitudeUav (const attitudeUav &mc)
 Copy constructor.
string exportAsString () const
 Exports as formatted string.

Public Attributes

SimTime attTime
Orientation3D attUav


Detailed Description

Class to represent attitude of an UAV (roll and pitch are mandatory, yaw is optional), associated with time.

Author:
Marco Cognetti

Constructor & Destructor Documentation

MipResources::attitudeUav::attitudeUav (  ) 

Default constructor.

MipResources::attitudeUav::attitudeUav ( const SimTime time,
const Orientation3D att 
)

Complete constructor.

Parameters:
[in] time Time associated with measurement
[in] att Orientation3D representing the orientation of the object

MipResources::attitudeUav::attitudeUav ( const SimTime time,
const Decimal roll,
const Decimal pitch,
const Decimal yaw 
)

Complete constructor.

Parameters:
[in] time Time associated with measurement
[in] roll Roll
[in] pitch Pitch
[in] yaw Yaw

MipResources::attitudeUav::attitudeUav ( const SimTime time,
const Decimal roll,
const Decimal pitch 
)

Complete constructor.

Parameters:
[in] time Time associated with measurement
[in] roll Roll
[in] pitch Pitch

MipResources::attitudeUav::attitudeUav ( stringstream &  ss,
bool  opt 
)

Complete constructor.

Parameters:
[in] ss Stringstream with one row of attitude (time roll pitch yaw, yaw is optional)
[in] opt Option to select if one wants to take yaw. True yaw is mandatory; false otherwise

MipResources::attitudeUav::~attitudeUav (  ) 

Default destructor.

MipResources::attitudeUav::attitudeUav ( const attitudeUav mc  ) 

Copy constructor.

Parameters:
[in] &mc Copy this attitudeUav.


Member Function Documentation

attitudeUav & MipResources::attitudeUav::operator= ( const attitudeUav mc  ) 

Copy operator.

Parameters:
[in] &mc Copy this attitudeUav.
Returns:
Returns this.

string MipResources::attitudeUav::exportAsString (  )  const

Exports as formatted string.

Returns:
Returns a formatted string composed by "ctime.exportAsString() roll pitch yaw".


Member Data Documentation


The documentation for this class was generated from the following files:

Generated on Mon Feb 20 07:01:13 2017 for MIP by  doxygen 1.5.6