Files
allwpilib/wpimath/src/main/python/semiwrap/LinearSystemLoop.yml
PJ Reiniger 40fb9ff562 [copybara] mostrobotpy to allwpilib (#8503)
Resync with `mostrobotpy`

This mostly involves the big "ignore almost everything in the HAL
project" and some fixups for the Addressable LED classes.

Required two small hand fixes to get it building over here with bazel,
and with more compiler warnings on.

I also manually zeroed out the `repo_url` field in the toml files to
avoid unnecessary churn whenever it goes from a release build to a
development build. I already did this with `version` field in there, and
will do a follow up PR that updates the copybara script to do it
automatically.

---------

Co-authored-by: Default email <default@default.com>
2025-12-31 09:06:01 -08:00

77 lines
2.0 KiB
YAML

classes:
wpi::math::LinearSystemLoop:
template_params:
- int States
- int Inputs
- int Outputs
methods:
LinearSystemLoop:
overloads:
? LinearSystem<States, Inputs, Outputs>&, LinearQuadraticRegulator<States, Inputs>&, KalmanFilter<States, Inputs, Outputs>&, wpi::units::volt_t, wpi::units::second_t
:
? LinearSystem<States, Inputs, Outputs>&, LinearQuadraticRegulator<States, Inputs>&, KalmanFilter<States, Inputs, Outputs>&, std::function<InputVector (const InputVector&)>, wpi::units::second_t
:
? LinearQuadraticRegulator<States, Inputs>&, const LinearPlantInversionFeedforward<States, Inputs>&, KalmanFilter<States, Inputs, Outputs>&, wpi::units::volt_t
:
? LinearQuadraticRegulator<States, Inputs>&, const LinearPlantInversionFeedforward<States, Inputs>&, KalmanFilter<States, Inputs, Outputs>&, std::function<InputVector (const InputVector&)>
:
Xhat:
overloads:
'[const]':
int [const]:
NextR:
overloads:
'[const]':
int [const]:
U:
overloads:
'[const]':
int [const]:
SetXhat:
overloads:
const StateVector&:
int, double:
SetNextR:
Controller:
ignore: true # TODO
Feedforward:
ignore: true # TODO
Observer:
ignore: true # TODO
Reset:
Error:
Correct:
Predict:
ClampInput:
templates:
LinearSystemLoop_1_1_1:
qualname: wpi::math::LinearSystemLoop
params:
- 1
- 1
- 1
LinearSystemLoop_2_1_1:
qualname: wpi::math::LinearSystemLoop
params:
- 2
- 1
- 1
LinearSystemLoop_2_1_2:
qualname: wpi::math::LinearSystemLoop
params:
- 2
- 1
- 2
LinearSystemLoop_2_2_2:
qualname: wpi::math::LinearSystemLoop
params:
- 2
- 2
- 2
LinearSystemLoop_3_2_3:
qualname: wpi::math::LinearSystemLoop
params:
- 3
- 2
- 3