BoB robotics
The Brains on Board robotics library
units::velocity Namespace Reference

namespace for unit types and containers representing velocity values More...

Typedefs

Units (full names plural)
typedef unit< std::ratio< 1 >, units::category::velocity_unitmeters_per_second
 
Units (abbreviated)
typedef meters_per_second mps
 
Unit Containers
typedef unit_t< meters_per_secondmeters_per_second_t
 
typedef unit_t< feet_per_second > feet_per_second_t
 
typedef unit_t< miles_per_hour > miles_per_hour_t
 
typedef unit_t< kilometers_per_hour > kilometers_per_hour_t
 
typedef unit_t< knot > knot_t
 

Functions

std::ostream & operator<< (std::ostream &os, const meters_per_second_t &obj)
 
std::string to_string (const meters_per_second_t &obj)
 
std::ostream & operator<< (std::ostream &os, const feet_per_second_t &obj)
 
std::string to_string (const feet_per_second_t &obj)
 
std::ostream & operator<< (std::ostream &os, const miles_per_hour_t &obj)
 
std::string to_string (const miles_per_hour_t &obj)
 
std::ostream & operator<< (std::ostream &os, const kilometers_per_hour_t &obj)
 
std::string to_string (const kilometers_per_hour_t &obj)
 
std::ostream & operator<< (std::ostream &os, const knot_t &obj)
 
std::string to_string (const knot_t &obj)
 

Detailed Description

namespace for unit types and containers representing velocity values

The SI unit for velocity is meters_per_second, and the corresponding base_unit category is velocity_unit.

See also
See unit_t for more information on unit type containers.