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

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

Typedefs

Units (full names plural)
typedef unit< std::ratio< 1 >, units::energy::joulenewton_meters
 
Units (full names singular)
typedef newton_meters newton_meter
 
Units (abbreviated)
typedef newton_meters Nm
 
Unit Containers
typedef unit_t< newton_meternewton_meter_t
 
typedef unit_t< foot_pound > foot_pound_t
 
typedef unit_t< foot_poundal > foot_poundal_t
 
typedef unit_t< inch_pound > inch_pound_t
 
typedef unit_t< meter_kilogram > meter_kilogram_t
 

Functions

std::ostream & operator<< (std::ostream &os, const newton_meter_t &obj)
 
std::string to_string (const newton_meter_t &obj)
 
std::ostream & operator<< (std::ostream &os, const foot_pound_t &obj)
 
std::string to_string (const foot_pound_t &obj)
 
std::ostream & operator<< (std::ostream &os, const foot_poundal_t &obj)
 
std::string to_string (const foot_poundal_t &obj)
 
std::ostream & operator<< (std::ostream &os, const inch_pound_t &obj)
 
std::string to_string (const inch_pound_t &obj)
 
std::ostream & operator<< (std::ostream &os, const meter_kilogram_t &obj)
 
std::string to_string (const meter_kilogram_t &obj)
 

Detailed Description

namespace for unit types and containers representing torque values

The SI unit for torque is newton_meters, and the corresponding base_unit category is torque_units.

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