DUNE: Uniform Navigational Environment  2016.05.0
DUNE::Plans::TimeProfile::SpeedProfile Struct Reference

Public Member Functions

 SpeedProfile (float sp, uint8_t su, float t=0.0)
 
template<typename Type >
 SpeedProfile (const Type *maneuver, float t=0.0)
 
 ~SpeedProfile (void)
 
void setTime (float t)
 

Public Attributes

float speed
 
uint8_t speed_units
 
float time
 

Constructor & Destructor Documentation

DUNE::Plans::TimeProfile::SpeedProfile::SpeedProfile ( float  sp,
uint8_t  su,
float  t = 0.0 
)
inline
template<typename Type >
DUNE::Plans::TimeProfile::SpeedProfile::SpeedProfile ( const Type *  maneuver,
float  t = 0.0 
)
inline

References speed, speed_units, and time.

DUNE::Plans::TimeProfile::SpeedProfile::~SpeedProfile ( void  )
inline

Member Function Documentation

void DUNE::Plans::TimeProfile::SpeedProfile::setTime ( float  t)
inline

References time.

Member Data Documentation

float DUNE::Plans::TimeProfile::SpeedProfile::speed

Speed value.

Referenced by SpeedProfile().

uint8_t DUNE::Plans::TimeProfile::SpeedProfile::speed_units

Speed units.

Referenced by SpeedProfile().

float DUNE::Plans::TimeProfile::SpeedProfile::time

Time of the profile.

Referenced by setTime(), and SpeedProfile().

Collaboration diagram for DUNE::Plans::TimeProfile::SpeedProfile:
Collaboration graph