2025-10-24 01:28:04 -04:00
|
|
|
classes:
|
2025-11-07 20:00:05 -05:00
|
|
|
wpi::math::ExponentialProfile:
|
2025-10-24 01:28:04 -04:00
|
|
|
force_type_casters:
|
2025-11-07 20:00:05 -05:00
|
|
|
- wpi::units::meters_per_second_t
|
2025-10-24 01:28:04 -04:00
|
|
|
template_params:
|
|
|
|
|
- Distance
|
|
|
|
|
- Input
|
|
|
|
|
methods:
|
|
|
|
|
ExponentialProfile:
|
|
|
|
|
Calculate:
|
|
|
|
|
CalculateInflectionPoint:
|
|
|
|
|
overloads:
|
|
|
|
|
const State&, const State& [const]:
|
|
|
|
|
TimeLeftUntil:
|
|
|
|
|
CalculateProfileTiming:
|
|
|
|
|
overloads:
|
|
|
|
|
const State&, const State& [const]:
|
2025-11-07 20:00:05 -05:00
|
|
|
wpi::math::ExponentialProfile::Constraints:
|
2025-10-24 01:28:04 -04:00
|
|
|
attributes:
|
|
|
|
|
maxInput:
|
|
|
|
|
A:
|
|
|
|
|
B:
|
|
|
|
|
methods:
|
|
|
|
|
Constraints:
|
|
|
|
|
overloads:
|
|
|
|
|
Input_t, A_t, B_t:
|
|
|
|
|
ignore: true
|
|
|
|
|
Input_t, kV_t, kA_t:
|
|
|
|
|
ignore: true
|
|
|
|
|
MaxVelocity:
|
|
|
|
|
inline_code: |
|
|
|
|
|
.def_static("fromStateSpace", [](Input_t maxInput, A_t a, B_t b) {
|
2025-11-07 20:00:05 -05:00
|
|
|
return typename wpi::math::ExponentialProfile<Distance, Input>::Constraints(maxInput, a, b);
|
2025-10-24 01:28:04 -04:00
|
|
|
}, py::arg("maxInput"), py::arg("a"), py::arg("b"))
|
|
|
|
|
.def_static("fromCharacteristics", [](Input_t maxInput, kV_t kv, kA_t ka) {
|
2025-11-07 20:00:05 -05:00
|
|
|
return typename wpi::math::ExponentialProfile<Distance, Input>::Constraints(maxInput, kv, ka);
|
2025-10-24 01:28:04 -04:00
|
|
|
}, py::arg("maxInput"), py::arg("kV"), py::arg("kA"))
|
|
|
|
|
|
2025-11-07 20:00:05 -05:00
|
|
|
wpi::math::ExponentialProfile::State:
|
2025-10-24 01:28:04 -04:00
|
|
|
force_no_default_constructor: true
|
|
|
|
|
attributes:
|
|
|
|
|
position:
|
|
|
|
|
velocity:
|
|
|
|
|
methods:
|
|
|
|
|
operator==:
|
|
|
|
|
inline_code: |
|
|
|
|
|
.def(py::init<Distance_t, Velocity_t>())
|
2025-11-07 20:00:05 -05:00
|
|
|
wpi::math::ExponentialProfile::ProfileTiming:
|
2025-10-24 01:28:04 -04:00
|
|
|
attributes:
|
|
|
|
|
inflectionTime:
|
|
|
|
|
totalTime:
|
|
|
|
|
methods:
|
|
|
|
|
IsFinished:
|
|
|
|
|
|
|
|
|
|
templates:
|
|
|
|
|
ExponentialProfileMeterVolts:
|
2025-11-07 20:00:05 -05:00
|
|
|
qualname: wpi::math::ExponentialProfile
|
2025-10-24 01:28:04 -04:00
|
|
|
params:
|
2025-11-07 20:00:05 -05:00
|
|
|
- wpi::units::meter
|
|
|
|
|
- wpi::units::volt
|