15#ifndef CARMA_COOPERATIVE_PERCEPTION__UNITS_EXTENSIONS_HPP_
16#define CARMA_COOPERATIVE_PERCEPTION__UNITS_EXTENSIONS_HPP_
27 return units::unit_cast<typename T::underlying_type>(value);
48 acceleration, centi_meters_per_second_squared, centimeters_per_second_squared,
50 unit<std::centi, meters_per_second_squared>)
54 unit<std::ratio_multiply<std::ratio<2>, std::centi>, standard_gravity>)
57 angular_velocity, centi_degrees_per_second, centi_degrees_per_second, centi_deg_per_s,
58 unit<std::centi, degrees_per_second>)
62 unit<std::ratio_multiply<std::deci, std::micro>, degrees>)
65 length, deca_centimeters, deca_centimeters, deca_cm, unit<std::ratio<10>, centimeters>)
69 unit<std::ratio_multiply<std::ratio<1, 8>, std::deci>, degrees>)
72 velocity, two_milli_meters_per_second, two_milli_meters_per_second, two_milli_mps,
73 unit<std::ratio_multiply<std::ratio<2>, std::milli>, meters_per_second>)
77 unit<std::ratio_multiply<std::ratio<2>, std::centi>, meters_per_second>)
constexpr auto remove_units(const T &value)
unit< std::ratio_multiply< std::ratio< 2 >, std::centi >, standard_gravity > unit< std::ratio_multiply< std::deci, std::micro >, degrees > eighth_ddeg
unit< std::ratio_multiply< std::ratio< 2 >, std::centi >, standard_gravity > unit< std::ratio_multiply< std::deci, std::micro >, degrees > eighth_deci_degrees
unit< std::ratio_multiply< std::ratio< 2 >, std::centi >, standard_gravity > unit< std::ratio_multiply< std::deci, std::micro >, degrees > unit< std::ratio_multiply< std::ratio< 1, 8 >, std::deci >, degrees > two_centi_meters_per_second
unit< std::ratio_multiply< std::ratio< 2 >, std::centi >, standard_gravity > unit< std::ratio_multiply< std::deci, std::micro >, degrees > unit< std::ratio_multiply< std::ratio< 1, 8 >, std::deci >, degrees > two_centi_mps
two_centi_standard_gravities
unit< std::ratio_multiply< std::ratio< 2 >, std::centi >, standard_gravity > deci_udeg
unit< std::ratio_multiply< std::ratio< 2 >, std::centi >, standard_gravity > deci_micro_degrees
UNIT_ADD(acceleration, centi_meters_per_second_squared, centimeters_per_second_squared, centi_mps_sq, unit< std::centi, meters_per_second_squared >) UNIT_ADD(acceleration