[robotpy] Mirror most other subprojects (#8208)

GitOrigin-RevId: ac60fd3cf4a24023184376687da28373d14b781a

This mirrors the robotpy files for the following projects:
- apriltag
- datalog
- hal
- ntcore
- romiVendordep
- wpilibc
- wpimath
- xrpVendordep

This excludes cscore and the halsim wrappers for at this time.

NOTE: This does not hook these projects up to the build system, just simply mirrors the files. The building will take place in a follow up PR to make it easier to review the changes necessary to build.
This commit is contained in:
PJ Reiniger
2025-10-24 01:28:04 -04:00
committed by GitHub
parent 8992dcdc99
commit 44b9cc1398
545 changed files with 27293 additions and 38 deletions

View File

@@ -0,0 +1,75 @@
classes:
frc::sim::LinearSystemSim:
typealias:
- template <int S, int I, int O> using LinearSystem = frc::LinearSystem<S, I, O>
- template <int I> using Vectord = frc::Vectord<I>
template_params:
- int States
- int Inputs
- int Outputs
attributes:
m_plant:
m_x:
m_y:
m_u:
m_measurementStdDevs:
methods:
LinearSystemSim:
param_override:
measurementStdDevs:
default: std::array<double, Outputs>{}
Update:
GetOutput:
overloads:
'[const]':
int [const]:
SetInput:
overloads:
const Vectord<Inputs>&:
int, double:
GetInput:
overloads:
'[const]':
int [const]:
SetState:
UpdateX:
ClampInput:
templates:
LinearSystemSim_1_1_1:
qualname: frc::sim::LinearSystemSim
params:
- 1
- 1
- 1
LinearSystemSim_1_1_2:
qualname: frc::sim::LinearSystemSim
params:
- 1
- 1
- 2
LinearSystemSim_2_1_1:
qualname: frc::sim::LinearSystemSim
params:
- 2
- 1
- 1
LinearSystemSim_2_1_2:
qualname: frc::sim::LinearSystemSim
params:
- 2
- 1
- 2
LinearSystemSim_2_2_1:
qualname: frc::sim::LinearSystemSim
params:
- 2
- 2
- 1
LinearSystemSim_2_2_2:
qualname: frc::sim::LinearSystemSim
params:
- 2
- 2
- 2