SCRIPT namespace replacements

This commit is contained in:
PJ Reiniger
2025-11-07 20:00:05 -05:00
committed by Peter Johnson
parent ae6c043632
commit 9aca8e0fd6
2622 changed files with 22275 additions and 22275 deletions

View File

@@ -5,28 +5,28 @@ extra_includes:
- wpi/units/dimensionless.hpp
classes:
frc::SimpleMotorFeedforward:
wpi::math::SimpleMotorFeedforward:
force_type_casters:
- units::meters_per_second
- units::meters_per_second_squared
- units::radians_per_second
- units::radians_per_second_squared
- wpi::units::meters_per_second
- wpi::units::meters_per_second_squared
- wpi::units::radians_per_second
- wpi::units::radians_per_second_squared
typealias:
- typename frc::SimpleMotorFeedforward<Distance>::Velocity
- typename frc::SimpleMotorFeedforward<Distance>::Acceleration
- typename frc::SimpleMotorFeedforward<Distance>::kv_unit
- typename frc::SimpleMotorFeedforward<Distance>::ka_unit
- typename wpi::math::SimpleMotorFeedforward<Distance>::Velocity
- typename wpi::math::SimpleMotorFeedforward<Distance>::Acceleration
- typename wpi::math::SimpleMotorFeedforward<Distance>::kv_unit
- typename wpi::math::SimpleMotorFeedforward<Distance>::ka_unit
template_params:
- Distance
methods:
SimpleMotorFeedforward:
overloads:
'':
units::volt_t, units::unit_t<kv_unit>, units::unit_t<ka_unit>:
wpi::units::volt_t, wpi::units::unit_t<kv_unit>, wpi::units::unit_t<ka_unit>:
Calculate:
overloads:
units::unit_t<Velocity> [const]:
units::unit_t<Velocity>, units::unit_t<Velocity> [const]:
wpi::units::unit_t<Velocity> [const]:
wpi::units::unit_t<Velocity>, wpi::units::unit_t<Velocity> [const]:
MaxAchievableVelocity:
MinAchievableVelocity:
MaxAchievableAcceleration:
@@ -42,16 +42,16 @@ classes:
templates:
# Unfortunately this is broken because calculate requires an SI unit
# SimpleMotorFeedforward:
# qualname: frc::SimpleMotorFeedforward
# qualname: wpi::math::SimpleMotorFeedforward
# params:
# - units::dimensionless::scalar
# - wpi::units::dimensionless::scalar
SimpleMotorFeedforwardMeters:
qualname: frc::SimpleMotorFeedforward
qualname: wpi::math::SimpleMotorFeedforward
params:
- units::meter
- wpi::units::meter
SimpleMotorFeedforwardRadians:
qualname: frc::SimpleMotorFeedforward
qualname: wpi::math::SimpleMotorFeedforward
params:
- units::radian
- wpi::units::radian