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

Store velocity and yaw rate. More...

#include <velocity_yaw_rate.h>

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

Public Member Functions

 VelocityYawRate ()
 Implicit constructor Instantiates velocity and yaw rate to zero. More...
 
 VelocityYawRate (Velocity v, double yaw_rate)
 Explicit constructor. More...
 
 VelocityYawRate (double x, double y, double z, double yaw_rate)
 Explicit constructor. More...
 
bool operator== (const VelocityYawRate &v) const
 Compare two VelocityYawRate. More...
 
bool operator!= (const VelocityYawRate &v) const
 Compare two VelocityYawRate. 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_rate
 Angular rate 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 rate.

Constructor & Destructor Documentation

VelocityYawRate::VelocityYawRate ( )
inline

Implicit constructor Instantiates velocity and yaw rate to zero.

VelocityYawRate::VelocityYawRate ( Velocity  v,
double  yaw_rate 
)
inline

Explicit constructor.

Parameters
vVelocity vector
yaw_rateAngular rate around global z (rad/s)
VelocityYawRate::VelocityYawRate ( double  x,
double  y,
double  z,
double  yaw_rate 
)
inline

Explicit constructor.

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

Member Function Documentation

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

Compare two VelocityYawRate.

Parameters
vVelocityYawRate to compare against
Returns
True if not same
bool VelocityYawRate::operator== ( const VelocityYawRate v) const
inline

Compare two VelocityYawRate.

Parameters
vVelocityYawRate to compare against
Returns
True if same

Member Data Documentation

double VelocityYawRate::yaw_rate

Angular rate around global z axis.


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