mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-30 02:31:44 +00:00
Move curvature_t to units namespace (#2444)
Note: this is a breaking change.
This commit is contained in:
committed by
GitHub
parent
303194b08b
commit
1c28b729ad
@@ -4855,6 +4855,12 @@ using namespace acceleration;
|
||||
using namespace angle;
|
||||
using namespace voltage;
|
||||
|
||||
/**
|
||||
* Define a unit for curvature.
|
||||
*/
|
||||
using curvature_t = units::unit_t<
|
||||
units::compound_unit<units::radian, units::inverse<units::meter>>>;
|
||||
|
||||
using dimensionless::scalar;
|
||||
using dimensionless::scalar_t;
|
||||
using dimensionless::dimensionless_t;
|
||||
|
||||
Reference in New Issue
Block a user