mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-26 01:51:41 +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:
@@ -0,0 +1,19 @@
|
||||
defaults:
|
||||
subpackage: constraint
|
||||
|
||||
classes:
|
||||
frc::MecanumDriveKinematicsConstraint:
|
||||
typealias:
|
||||
- frc::TrajectoryConstraint::MinMax
|
||||
methods:
|
||||
MecanumDriveKinematicsConstraint:
|
||||
MaxVelocity:
|
||||
MinMaxAcceleration:
|
||||
|
||||
inline_code: |-
|
||||
cls_MecanumDriveKinematicsConstraint
|
||||
.def_static("fromFps", [](const frc::MecanumDriveKinematics& kinematics,
|
||||
units::feet_per_second_t maxSpeed) {
|
||||
return std::make_shared<frc::MecanumDriveKinematicsConstraint>(kinematics, maxSpeed);
|
||||
}, py::arg("kinematics"), py::arg("maxSpeed"))
|
||||
;
|
||||
Reference in New Issue
Block a user