WPILibC++ 2023.4.3
velocity.h File Reference
#include "units/base.h"
#include "units/length.h"
#include "units/time.h"

Go to the source code of this file.

Namespaces

namespace  units
 Unit Conversion Library namespace.
 
namespace  units::velocity
 namespace for unit types and containers representing velocity values
 

Functions

 units::UNIT_ADD (velocity, meters_per_second, meters_per_second, mps, unit< std::ratio< 1 >, units::category::velocity_unit >) UNIT_ADD(velocity
 
compound_unit< length::feet, inverse< time::seconds > > units::UNIT_ADD (velocity, miles_per_hour, miles_per_hour, mph, compound_unit< length::miles, inverse< time::hour > >) UNIT_ADD(velocity
 
compound_unit< length::feet, inverse< time::seconds > > compound_unit< length::kilometers, inverse< time::hour > > units::UNIT_ADD (velocity, knot, knots, kts, compound_unit< length::nauticalMiles, inverse< time::hour > >) using namespace velocity
 

Variables

 units::feet_per_second
 
 units::fps
 
compound_unit< length::feet, inverse< time::seconds > > units::kilometers_per_hour
 
compound_unit< length::feet, inverse< time::seconds > > units::kph