ASCO Aerial Autonomy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
VelocityYaw Struct Reference

Store velocity and yaw Used as goal for builtin velocity and yaw controller for UAV system. More...

#include <velocity_yaw.h>

Inheritance diagram for VelocityYaw:
Inheritance graph
[legend]
Collaboration diagram for VelocityYaw:
Collaboration graph
[legend]

Public Member Functions

 VelocityYaw ()
 Implicit constructor Instantiates velocity and yaw to zero. More...
 
 VelocityYaw (Velocity v, double yaw)
 Explicit constructor. More...
 
 VelocityYaw (double x, double y, double z, double yaw)
 Explicit constructor. More...
 
bool operator== (const VelocityYaw &v) const
 Compare two velocityyaws. More...
 
bool operator!= (const VelocityYaw &v) const
 Compare two velocityyaws. More...
 
VelocityYaw operator- (const VelocityYaw &v) const
 Substract two velocity yaw entities. More...
 
- Public Member Functions inherited from Velocity
 Velocity ()
 Constructor with implicit instantiation of velocity vector to zero. More...
 
 Velocity (double x, double y, double z)
 Constructor with explicit instantiation. More...
 
bool operator== (const Velocity &v) const
 Check if two velocity vectors are the same. More...
 
bool operator!= (const Velocity &v) const
 Check if two vectors are not equal. More...
 

Public Attributes

double yaw
 Orientation around global z axis. More...
 
- Public Attributes inherited from Velocity
double x
 x component in m/s More...
 
double y
 y component in m/s More...
 
double z
 z component in m/s More...
 

Detailed Description

Store velocity and yaw Used as goal for builtin velocity and yaw controller for UAV system.

Constructor & Destructor Documentation

VelocityYaw::VelocityYaw ( )
inline

Implicit constructor Instantiates velocity and yaw to zero.

VelocityYaw::VelocityYaw ( Velocity  v,
double  yaw 
)
inline

Explicit constructor.

Parameters
vVelocity vector
yawOrientation around body axis (rad)
VelocityYaw::VelocityYaw ( double  x,
double  y,
double  z,
double  yaw 
)
inline

Explicit constructor.

Parameters
xx component (m/s)
yy component (m/s)
zz component (m/s)
yawOrientation around global z axis (rad)

Member Function Documentation

bool VelocityYaw::operator!= ( const VelocityYaw v) const
inline

Compare two velocityyaws.

Parameters
vVelocityYaw to compare against
Returns
True if not same
VelocityYaw VelocityYaw::operator- ( const VelocityYaw v) const
inline

Substract two velocity yaw entities.

Parameters
vVelocityYaw to be substracted from current velocity yaw
Returns
Difference between velocity yaws
bool VelocityYaw::operator== ( const VelocityYaw v) const
inline

Compare two velocityyaws.

Parameters
vVelocityYaw to compare against
Returns
True if same

Member Data Documentation

double VelocityYaw::yaw

Orientation around global z axis.


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