mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
SCRIPT namespace replacements
This commit is contained in:
committed by
Peter Johnson
parent
ae6c043632
commit
9aca8e0fd6
@@ -2,7 +2,7 @@ defaults:
|
||||
subpackage: controller
|
||||
|
||||
classes:
|
||||
frc::ImplicitModelFollower:
|
||||
wpi::math::ImplicitModelFollower:
|
||||
template_params:
|
||||
- int States
|
||||
- int Inputs
|
||||
@@ -22,27 +22,27 @@ classes:
|
||||
|
||||
template_inline_code: |
|
||||
cls_ImplicitModelFollower
|
||||
.def(py::init<const frc::LinearSystem<States, Inputs, 1>&, const frc::LinearSystem<States, Inputs, 1>&>(),
|
||||
.def(py::init<const wpi::math::LinearSystem<States, Inputs, 1>&, const wpi::math::LinearSystem<States, Inputs, 1>&>(),
|
||||
py::arg("plant"), py::arg("plantRef"))
|
||||
.def(py::init<const frc::LinearSystem<States, Inputs, 2>&, const frc::LinearSystem<States, Inputs, 2>&>(),
|
||||
.def(py::init<const wpi::math::LinearSystem<States, Inputs, 2>&, const wpi::math::LinearSystem<States, Inputs, 2>&>(),
|
||||
py::arg("plant"), py::arg("plantRef"))
|
||||
.def(py::init<const frc::LinearSystem<States, Inputs, 3>&, const frc::LinearSystem<States, Inputs, 3>&>(),
|
||||
.def(py::init<const wpi::math::LinearSystem<States, Inputs, 3>&, const wpi::math::LinearSystem<States, Inputs, 3>&>(),
|
||||
py::arg("plant"), py::arg("plantRef"))
|
||||
;
|
||||
|
||||
templates:
|
||||
ImplicitModelFollower_1_1:
|
||||
qualname: frc::ImplicitModelFollower
|
||||
qualname: wpi::math::ImplicitModelFollower
|
||||
params:
|
||||
- 1
|
||||
- 1
|
||||
ImplicitModelFollower_2_1:
|
||||
qualname: frc::ImplicitModelFollower
|
||||
qualname: wpi::math::ImplicitModelFollower
|
||||
params:
|
||||
- 2
|
||||
- 1
|
||||
ImplicitModelFollower_2_2:
|
||||
qualname: frc::ImplicitModelFollower
|
||||
qualname: wpi::math::ImplicitModelFollower
|
||||
params:
|
||||
- 2
|
||||
- 2
|
||||
|
||||
Reference in New Issue
Block a user