mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-20 00:51:42 +00:00
[robotpy] Sync robotpy (#8318)
Project import generated by Copybara. GitOrigin-RevId: f6818c55dda55da1226e47a05a22d30f7cc477f1
This commit is contained in:
@@ -4,33 +4,23 @@ functions:
|
||||
- [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);
|
||||
}
|
||||
# Use // operator instead, it's more efficient
|
||||
# - https://github.com/robotpy/mostrobotpy/pull/200
|
||||
ignore: true
|
||||
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);
|
||||
}
|
||||
# Use % operator instead, it's more efficient
|
||||
# - https://github.com/robotpy/mostrobotpy/pull/200
|
||||
ignore: true
|
||||
ApplyDeadband:
|
||||
param_override:
|
||||
maxMagnitude:
|
||||
default: '1.0'
|
||||
template_impls:
|
||||
- [double]
|
||||
CopySignPow:
|
||||
param_override:
|
||||
maxMagnitude:
|
||||
default: '1.0'
|
||||
template_impls:
|
||||
- [double]
|
||||
overloads:
|
||||
T, T, T:
|
||||
template_impls:
|
||||
- [double]
|
||||
const Eigen::Vector<T, N>&, T, T:
|
||||
ignore: true
|
||||
IsNear:
|
||||
overloads:
|
||||
T, T, T:
|
||||
@@ -45,3 +35,9 @@ functions:
|
||||
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:
|
||||
CopyDirectionPow:
|
||||
overloads:
|
||||
T, double, T:
|
||||
ignore: true
|
||||
const Eigen::Vector<T, N>&, double, T:
|
||||
ignore: true
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
defaults:
|
||||
subpackage: controller
|
||||
|
||||
classes:
|
||||
frc::DifferentialDriveFeedforward:
|
||||
force_type_casters:
|
||||
|
||||
@@ -1,23 +0,0 @@
|
||||
defaults:
|
||||
subpackage: controller
|
||||
|
||||
classes:
|
||||
frc::HolonomicDriveController:
|
||||
methods:
|
||||
HolonomicDriveController:
|
||||
AtReference:
|
||||
SetTolerance:
|
||||
Calculate:
|
||||
overloads:
|
||||
const Pose2d&, const Pose2d&, units::meters_per_second_t, const Rotation2d&:
|
||||
const Pose2d&, const Trajectory::State&, const Rotation2d&:
|
||||
SetEnabled:
|
||||
getThetaController:
|
||||
ignore: true
|
||||
getXController:
|
||||
ignore: true
|
||||
getYController:
|
||||
ignore: true
|
||||
GetXController:
|
||||
GetYController:
|
||||
GetThetaController:
|
||||
@@ -27,8 +27,6 @@ classes:
|
||||
RotateBy:
|
||||
TransformBy:
|
||||
RelativeTo:
|
||||
Exp:
|
||||
Log:
|
||||
ToMatrix:
|
||||
Nearest:
|
||||
overloads:
|
||||
|
||||
@@ -7,11 +7,6 @@ functions:
|
||||
ignore: true
|
||||
from_json:
|
||||
ignore: true
|
||||
RotationVectorToMatrix:
|
||||
overloads:
|
||||
const ct_vector3d&:
|
||||
ignore: true
|
||||
const Eigen::Vector3d&:
|
||||
classes:
|
||||
frc::Pose3d:
|
||||
methods:
|
||||
@@ -36,13 +31,11 @@ classes:
|
||||
operator*:
|
||||
operator/:
|
||||
RotateBy:
|
||||
RotateAround:
|
||||
TransformBy:
|
||||
RelativeTo:
|
||||
Exp:
|
||||
Log:
|
||||
ToMatrix:
|
||||
ToPose2d:
|
||||
RotateAround:
|
||||
Nearest:
|
||||
overloads:
|
||||
std::span<const Pose3d> [const]:
|
||||
|
||||
@@ -30,6 +30,7 @@ classes:
|
||||
operator/:
|
||||
operator==:
|
||||
operator+:
|
||||
Log:
|
||||
|
||||
inline_code: |
|
||||
cls_Transform2d
|
||||
|
||||
@@ -28,6 +28,7 @@ classes:
|
||||
operator/:
|
||||
operator+:
|
||||
operator==:
|
||||
Log:
|
||||
|
||||
|
||||
inline_code: |
|
||||
|
||||
@@ -38,6 +38,10 @@ classes:
|
||||
operator*:
|
||||
operator/:
|
||||
operator==:
|
||||
SquaredDistance:
|
||||
SquaredNorm:
|
||||
Dot:
|
||||
Cross:
|
||||
|
||||
inline_code: |
|
||||
cls_Translation2d
|
||||
|
||||
@@ -41,6 +41,10 @@ classes:
|
||||
ignore: true
|
||||
|
||||
RotateAround:
|
||||
SquaredDistance:
|
||||
SquaredNorm:
|
||||
Dot:
|
||||
Cross:
|
||||
inline_code: |
|
||||
cls_Translation3d
|
||||
.def_static("fromFeet", [](units::foot_t x, units::foot_t y, units::foot_t z){
|
||||
|
||||
@@ -11,6 +11,7 @@ classes:
|
||||
methods:
|
||||
operator==:
|
||||
operator*:
|
||||
Exp:
|
||||
|
||||
inline_code: |
|
||||
cls_Twist2d
|
||||
|
||||
@@ -14,6 +14,7 @@ classes:
|
||||
methods:
|
||||
operator==:
|
||||
operator*:
|
||||
Exp:
|
||||
|
||||
inline_code: |-
|
||||
cls_Twist3d
|
||||
|
||||
Reference in New Issue
Block a user