2025-10-24 01:28:04 -04:00
|
|
|
defaults:
|
|
|
|
|
subpackage: controller
|
|
|
|
|
|
|
|
|
|
extra_includes:
|
2025-11-07 19:56:21 -05:00
|
|
|
- wpi/units/dimensionless.hpp
|
2025-10-24 01:28:04 -04:00
|
|
|
|
|
|
|
|
classes:
|
2025-11-07 20:00:05 -05:00
|
|
|
wpi::math::SimpleMotorFeedforward:
|
2025-10-24 01:28:04 -04:00
|
|
|
force_type_casters:
|
2025-11-07 20:00:05 -05:00
|
|
|
- wpi::units::meters_per_second
|
|
|
|
|
- wpi::units::meters_per_second_squared
|
|
|
|
|
- wpi::units::radians_per_second
|
|
|
|
|
- wpi::units::radians_per_second_squared
|
2025-10-24 01:28:04 -04:00
|
|
|
typealias:
|
2025-11-07 20:00:05 -05:00
|
|
|
- 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
|
2025-10-24 01:28:04 -04:00
|
|
|
template_params:
|
|
|
|
|
- Distance
|
|
|
|
|
methods:
|
|
|
|
|
SimpleMotorFeedforward:
|
|
|
|
|
overloads:
|
|
|
|
|
'':
|
2025-11-07 20:00:05 -05:00
|
|
|
wpi::units::volt_t, wpi::units::unit_t<kv_unit>, wpi::units::unit_t<ka_unit>:
|
2025-10-24 01:28:04 -04:00
|
|
|
Calculate:
|
|
|
|
|
overloads:
|
2025-11-07 20:00:05 -05:00
|
|
|
wpi::units::unit_t<Velocity> [const]:
|
|
|
|
|
wpi::units::unit_t<Velocity>, wpi::units::unit_t<Velocity> [const]:
|
2025-10-24 01:28:04 -04:00
|
|
|
MaxAchievableVelocity:
|
|
|
|
|
MinAchievableVelocity:
|
|
|
|
|
MaxAchievableAcceleration:
|
|
|
|
|
MinAchievableAcceleration:
|
|
|
|
|
GetKs:
|
|
|
|
|
GetKv:
|
|
|
|
|
GetKa:
|
|
|
|
|
GetDt:
|
|
|
|
|
SetKs:
|
|
|
|
|
SetKv:
|
|
|
|
|
SetKa:
|
|
|
|
|
|
|
|
|
|
templates:
|
|
|
|
|
# Unfortunately this is broken because calculate requires an SI unit
|
|
|
|
|
# SimpleMotorFeedforward:
|
2025-11-07 20:00:05 -05:00
|
|
|
# qualname: wpi::math::SimpleMotorFeedforward
|
2025-10-24 01:28:04 -04:00
|
|
|
# params:
|
2025-11-07 20:00:05 -05:00
|
|
|
# - wpi::units::dimensionless::scalar
|
2025-10-24 01:28:04 -04:00
|
|
|
|
|
|
|
|
SimpleMotorFeedforwardMeters:
|
2025-11-07 20:00:05 -05:00
|
|
|
qualname: wpi::math::SimpleMotorFeedforward
|
2025-10-24 01:28:04 -04:00
|
|
|
params:
|
2025-11-07 20:00:05 -05:00
|
|
|
- wpi::units::meter
|
2025-10-24 01:28:04 -04:00
|
|
|
|
|
|
|
|
SimpleMotorFeedforwardRadians:
|
2025-11-07 20:00:05 -05:00
|
|
|
qualname: wpi::math::SimpleMotorFeedforward
|
2025-10-24 01:28:04 -04:00
|
|
|
params:
|
2025-11-07 20:00:05 -05:00
|
|
|
- wpi::units::radian
|