Files
allwpilib/wpimath/src/main/python/semiwrap/PoseEstimator.yml
PJ Reiniger 40fb9ff562 [copybara] mostrobotpy to allwpilib (#8503)
Resync with `mostrobotpy`

This mostly involves the big "ignore almost everything in the HAL
project" and some fixups for the Addressable LED classes.

Required two small hand fixes to get it building over here with bazel,
and with more compiler warnings on.

I also manually zeroed out the `repo_url` field in the toml files to
avoid unnecessary churn whenever it goes from a release build to a
development build. I already did this with `version` field in there, and
will do a follow up PR that updates the copybara script to do it
automatically.

---------

Co-authored-by: Default email <default@default.com>
2025-12-31 09:06:01 -08:00

71 lines
2.4 KiB
YAML

extra_includes:
- wpi/math/kinematics/DifferentialDriveWheelAccelerations.hpp
- wpi/math/kinematics/DifferentialDriveWheelPositions.hpp
- wpi/math/kinematics/DifferentialDriveWheelSpeeds.hpp
- wpi/math/kinematics/MecanumDriveWheelAccelerations.hpp
- wpi/math/kinematics/MecanumDriveWheelPositions.hpp
- wpi/math/kinematics/MecanumDriveWheelSpeeds.hpp
- wpi/math/kinematics/SwerveModuleAcceleration.hpp
- wpi/math/kinematics/SwerveDriveKinematics.hpp
classes:
wpi::math::PoseEstimator:
template_params:
- WheelPositions
- WheelSpeeds
- WheelAccelerations
methods:
PoseEstimator:
SetVisionMeasurementStdDevs:
ResetPosition:
ResetPose:
ResetTranslation:
ResetRotation:
GetEstimatedPosition:
SampleAt:
AddVisionMeasurement:
overloads:
const Pose2d&, wpi::units::second_t:
const Pose2d&, wpi::units::second_t, const wpi::util::array<double, 3>&:
Update:
UpdateWithTime:
templates:
DifferentialDrivePoseEstimatorBase:
qualname: wpi::math::PoseEstimator
params:
- wpi::math::DifferentialDriveWheelPositions
- wpi::math::DifferentialDriveWheelSpeeds
- wpi::math::DifferentialDriveWheelAccelerations
MecanumDrivePoseEstimatorBase:
qualname: wpi::math::PoseEstimator
params:
- wpi::math::MecanumDriveWheelPositions
- wpi::math::MecanumDriveWheelSpeeds
- wpi::math::MecanumDriveWheelAccelerations
SwerveDrive2PoseEstimatorBase:
qualname: wpi::math::PoseEstimator
params:
- wpi::util::array<wpi::math::SwerveModulePosition,2>
- wpi::util::array<wpi::math::SwerveModuleState,2>
- wpi::util::array<wpi::math::SwerveModuleAcceleration,2>
SwerveDrive3PoseEstimatorBase:
qualname: wpi::math::PoseEstimator
params:
- wpi::util::array<wpi::math::SwerveModulePosition,3>
- wpi::util::array<wpi::math::SwerveModuleState,3>
- wpi::util::array<wpi::math::SwerveModuleAcceleration,3>
SwerveDrive4PoseEstimatorBase:
qualname: wpi::math::PoseEstimator
params:
- wpi::util::array<wpi::math::SwerveModulePosition,4>
- wpi::util::array<wpi::math::SwerveModuleState,4>
- wpi::util::array<wpi::math::SwerveModuleAcceleration,4>
SwerveDrive6PoseEstimatorBase:
qualname: wpi::math::PoseEstimator
params:
- wpi::util::array<wpi::math::SwerveModulePosition,6>
- wpi::util::array<wpi::math::SwerveModuleState,6>
- wpi::util::array<wpi::math::SwerveModuleAcceleration,6>