Skip to content

Commit 868b798

Browse files
committed
wpimath: Fix radians_per_second unit
1 parent 6dfff46 commit 868b798

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

subprojects/robotpy-wpimath/wpimath/_impl/src/type_casters/units_angular_acceleration_type_caster.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ template <> struct handle_type_name<units::radians_per_second_squared_t> {
99
};
1010

1111
template <> struct handle_type_name<units::radians_per_second_squared> {
12-
static constexpr auto name = _("wpimath.units.radians_per_second");
12+
static constexpr auto name = _("wpimath.units.radians_per_second_squared");
1313
};
1414

1515
template <> struct handle_type_name<units::degrees_per_second_squared_t> {

subprojects/robotpy-wpimath/wpimath/units.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,6 @@ def lbsToKilograms(lbs: pounds) -> kilograms:
190190

191191
# angular acceleration
192192
radians_per_second_squared = float
193-
radians_per_second = float
194193
degrees_per_second_squared = float
195194
turns_per_second_squared = float
196195

0 commit comments

Comments
 (0)