mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[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:
47
wpimath/src/main/python/semiwrap/MathUtil.yml
Normal file
47
wpimath/src/main/python/semiwrap/MathUtil.yml
Normal file
@@ -0,0 +1,47 @@
|
||||
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:
|
||||
Reference in New Issue
Block a user