Files
allwpilib/wpimath/src/main/python/semiwrap/MathUtil.yml
PJ Reiniger 44b9cc1398 [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.
2025-10-23 22:28:04 -07:00

48 lines
1.1 KiB
YAML

functions:
InputModulus:
template_impls:
- [double]
AngleModulus:
FloorDiv:
template_impls:
- [int64_t, int64_t]
# work around GCC 10 issue on raspbian
cpp_code: |
[](int64_t x, int64_t y) -> int64_t {
return frc::FloorDiv(x, y);
}
FloorMod:
template_impls:
- [int64_t, int64_t]
# work around GCC 10 issue on raspbian
cpp_code: |
[](int64_t x, int64_t y) -> int64_t {
return frc::FloorMod(x, y);
}
ApplyDeadband:
param_override:
maxMagnitude:
default: '1.0'
template_impls:
- [double]
CopySignPow:
param_override:
maxMagnitude:
default: '1.0'
template_impls:
- [double]
IsNear:
overloads:
T, T, T:
ignore: true
template_impls:
- [double]
T, T, T, T, T:
ignore: true
template_impls:
- [double]
SlewRateLimit:
overloads:
const Translation2d&, const Translation2d&, units::second_t, units::meters_per_second_t:
const Translation3d&, const Translation3d&, units::second_t, units::meters_per_second_t: