UavControlPar Class Reference
[Uav control]

#include <UavControl.h>

Inheritance diagram for UavControlPar:

MIPObject

List of all members.

Public Member Functions

 UavControlPar (UavTypes uavType=UAV_TYPES_SWARMSIM, Decimal propGain=1.0, Decimal derivGain=2.0, Decimal mass=1.5, Decimal gravity=9.81, Decimal maxRollSin_=sin(20.0 *M_PI/180.0), Decimal maxPitchSin_=sin(20.0 *M_PI/180.0), Decimal minThrust=5.0)
 Default constructor.
 UavControlPar (const UavControlPar &p)
 Copy constructor.
UavControlParoperator= (const UavControlPar &rhs)
 Assignment operator.
UavTypes uavType ()
 Gets the uav type.
Decimal propGain ()
 Gets the proportional gain.
Decimal derivGain ()
 Gets the derivative gain.
Decimal mass ()
 Gets the mass.
Decimal gravity ()
 Gets the gravity.
Decimal maxRollSin ()
 Gets the saturation value of roll.
Decimal maxPitchSin ()
 Gets the saturation value of Pitch.
Decimal minThrust ()
 Gets the saturation value of the Thrust which should be between 0 and m*g*.9.
string getObjectName () const
 Gets the name.


Constructor & Destructor Documentation

UavControlPar::UavControlPar ( UavTypes  uavType = UAV_TYPES_SWARMSIM,
Decimal  propGain = 1.0,
Decimal  derivGain = 2.0,
Decimal  mass = 1.5,
Decimal  gravity = 9.81,
Decimal  maxRollSin_ = sin(20.0*M_PI/180.0),
Decimal  maxPitchSin_ = sin(20.0*M_PI/180.0),
Decimal  minThrust = 5.0 
)

Default constructor.

Parameters:
[in] uavType Type of uav.
[in] propGain Proportional gain of the controller.
[in] derivGain Derivative gain of the controller.
[in] mass Mass of the uav.
[in] gravity Gravity of the environment.

UavControlPar::UavControlPar ( const UavControlPar p  ) 

Copy constructor.

copy constructor */


Member Function Documentation

UavControlPar & UavControlPar::operator= ( const UavControlPar rhs  ) 

Assignment operator.

assigment operator = */

UavTypes UavControlPar::uavType (  ) 

Gets the uav type.

Returns:
Uav type.

Decimal UavControlPar::propGain (  ) 

Gets the proportional gain.

Returns:
Proportional gain of the controller.

Decimal UavControlPar::derivGain (  ) 

Gets the derivative gain.

Returns:
Derivative gain of the controller.

Decimal UavControlPar::mass (  ) 

Gets the mass.

Returns:
Mass of the uav.

Decimal UavControlPar::gravity (  ) 

Gets the gravity.

Returns:
Gravity of the environment

Decimal UavControlPar::maxRollSin (  ) 

Gets the saturation value of roll.

Returns:
Saturation value of roll

Decimal UavControlPar::maxPitchSin (  ) 

Gets the saturation value of Pitch.

Returns:
Saturation value of Pitch

Decimal UavControlPar::minThrust (  ) 

Gets the saturation value of the Thrust which should be between 0 and m*g*.9.

Returns:
Saturation value of the Thrust

string UavControlPar::getObjectName (  )  const [inline, virtual]

Gets the name.

Implements MIPObject.


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

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