wpilibsuite / allwpilib

Official Repository of WPILibJ and WPILibC
https://wpilib.org/
Other
1.04k stars 606 forks source link

Add force and torque units to wpiunits #6676

Open narmstro2020 opened 1 month ago

narmstro2020 commented 1 month ago

Add Newtons for force and NewtonMeters for torque to the units API.
Also added singular aliases

narmstro2020 commented 1 month ago

/format

narmstro2020 commented 1 month ago

Just out of curiosity.

Is it possible to setup some alias for LinearVelocity.
That way I don’t have to use Measure<Velocity> when I just want to say Measure.

I’d like to jump down that rabbit hole but didn’t want to waste my time if it had already been attempted.

narmstro2020 commented 1 month ago

/format

narmstro2020 commented 1 month ago

/format

narmstro2020 commented 3 weeks ago

@SamCarlberg

Anything I should do with this one?