mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-25 01:41:43 +00:00
SCRIPT namespace replacements
This commit is contained in:
committed by
Peter Johnson
parent
ae6c043632
commit
9aca8e0fd6
@@ -2,9 +2,9 @@ defaults:
|
||||
subpackage: constraint
|
||||
|
||||
classes:
|
||||
frc::CentripetalAccelerationConstraint:
|
||||
wpi::math::CentripetalAccelerationConstraint:
|
||||
typealias:
|
||||
- frc::TrajectoryConstraint::MinMax
|
||||
- wpi::math::TrajectoryConstraint::MinMax
|
||||
methods:
|
||||
CentripetalAccelerationConstraint:
|
||||
MaxVelocity:
|
||||
@@ -12,6 +12,6 @@ classes:
|
||||
|
||||
inline_code: |-
|
||||
cls_CentripetalAccelerationConstraint
|
||||
.def_static("fromFps", [](units::feet_per_second_squared_t maxCentripetalAcceleration) {
|
||||
.def_static("fromFps", [](wpi::units::feet_per_second_squared_t maxCentripetalAcceleration) {
|
||||
return std::make_shared<CentripetalAccelerationConstraint>(maxCentripetalAcceleration);
|
||||
}, py::arg("maxCentripetalAcceleration"));
|
||||
|
||||
Reference in New Issue
Block a user