[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>
This commit is contained in:
PJ Reiniger
2025-12-31 12:06:01 -05:00
committed by GitHub
parent bdc9391738
commit 40fb9ff562
233 changed files with 1796 additions and 4455 deletions

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: controller
classes:
wpi::math::ArmFeedforward:
force_type_casters:

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: controller
classes:
wpi::math::BangBangController:
ignored_bases:

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: constraint
classes:
wpi::math::CentripetalAccelerationConstraint:
typealias:

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: controller
classes:
wpi::math::ControlAffinePlantInversionFeedforward:
template_params:

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: plant
extra_includes:
- wpystruct.h

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: controller
classes:
wpi::math::DifferentialDriveAccelerationLimiter:
methods:

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: controller
classes:
wpi::math::DifferentialDriveFeedforward:
force_type_casters:

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: constraint
classes:
wpi::math::DifferentialDriveKinematicsConstraint:
typealias:

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: estimator
classes:
wpi::math::DifferentialDrivePoseEstimator:
force_no_trampoline: true

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: estimator
classes:
wpi::math::DifferentialDrivePoseEstimator3d:
force_no_trampoline: true

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: constraint
classes:
wpi::math::DifferentialDriveVoltageConstraint:
typealias:

View File

@@ -1,7 +1,3 @@
defaults:
subpackage: controller
classes:
wpi::math::DifferentialDriveWheelVoltages:
force_no_default_constructor: true

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: controller
classes:
wpi::math::ElevatorFeedforward:
force_type_casters:

View File

@@ -1,5 +1,5 @@
extra_includes:
- rpy/geometryToString.h
- geometryToString.h
- wpystruct.h
classes:

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: constraint
extra_includes:
- PyTrajectoryConstraint.h

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: trajectory
classes:
wpi::math::ExponentialProfile:
force_type_casters:

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: estimator
classes:
wpi::math::ExtendedKalmanFilter:
template_params:

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: controller
classes:
wpi::math::ImplicitModelFollower:
template_params:

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: estimator
classes:
wpi::math::KalmanFilter:
template_params:

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: controller
classes:
wpi::math::LTVDifferentialDriveController:
methods:

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: controller
classes:
wpi::math::LTVUnicycleController:
methods:

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: controller
classes:
wpi::math::LinearPlantInversionFeedforward:
template_params:

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: controller
classes:
wpi::math::LinearQuadraticRegulator:
template_params:

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: system
classes:
wpi::math::LinearSystem:
template_params:

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: plant
classes:
wpi::math::LinearSystemId:
typealias:

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: system
classes:
wpi::math::LinearSystemLoop:
template_params:

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: constraint
classes:
wpi::math::MaxVelocityConstraint:
typealias:

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: constraint
classes:
wpi::math::MecanumDriveKinematicsConstraint:
typealias:

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: estimator
classes:
wpi::math::MecanumDrivePoseEstimator:
force_no_trampoline: true

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: estimator
classes:
wpi::math::MecanumDrivePoseEstimator3d:
force_no_trampoline: true

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: controller
classes:
wpi::math::PIDController:
ignored_bases:

View File

@@ -1,5 +1,5 @@
extra_includes:
- rpy/geometryToString.h
- geometryToString.h
- wpystruct.h
functions:

View File

@@ -1,5 +1,5 @@
extra_includes:
- rpy/geometryToString.h
- geometryToString.h
- wpystruct.h
functions:

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: estimator
extra_includes:
- wpi/math/kinematics/DifferentialDriveWheelAccelerations.hpp
- wpi/math/kinematics/DifferentialDriveWheelPositions.hpp

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: estimator
extra_includes:
- wpi/math/kinematics/DifferentialDriveWheelAccelerations.hpp
- wpi/math/kinematics/DifferentialDriveWheelPositions.hpp

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: controller
functions:
IncrementAndGetProfiledPIDControllerInstances:
ignore: true

View File

@@ -1,5 +1,5 @@
extra_includes:
- rpy/geometryToString.h
- geometryToString.h
- wpystruct.h
functions:

View File

@@ -1,5 +1,5 @@
extra_includes:
- rpy/geometryToString.h
- geometryToString.h
- wpystruct.h
classes:

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: constraint
extra_includes:
- PyTrajectoryConstraint.h

View File

@@ -1,5 +1,5 @@
extra_includes:
- rpy/geometryToString.h
- geometryToString.h
- wpystruct.h
functions:

View File

@@ -1,5 +1,5 @@
extra_includes:
- rpy/geometryToString.h
- geometryToString.h
- wpystruct.h
functions:

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: controller
extra_includes:
- wpi/units/dimensionless.hpp

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: optimization
extra_includes:
- gilsafe_object.h

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: constraint
classes:
wpi::math::SwerveDriveKinematicsConstraint:
template_params:

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: estimator
extra_includes:
- wpi/math/kinematics/SwerveModuleState.hpp

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: estimator
extra_includes:
- wpi/math/kinematics/SwerveModuleState.hpp

View File

@@ -1,8 +1,5 @@
defaults:
subpackage: trajectory
extra_includes:
- rpy/geometryToString.h
- geometryToString.h
functions:
to_json:

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: trajectory
extra_includes:
- PyTrajectoryConstraint.h

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: constraint
classes:
wpi::math::TrajectoryConstraint:
force_type_casters:

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: trajectory
extra_includes:
- wpi/math/spline/CubicHermiteSpline.hpp
- wpi/math/spline/QuinticHermiteSpline.hpp

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: trajectory
classes:
wpi::math::TrajectoryParameterizer:
force_type_casters:

View File

@@ -1,6 +1,6 @@
extra_includes:
- wpi/math/geometry/Pose2d.hpp
- rpy/geometryToString.h
- geometryToString.h
- wpystruct.h
classes:

View File

@@ -1,5 +1,5 @@
extra_includes:
- rpy/geometryToString.h
- geometryToString.h
- wpystruct.h
classes:

View File

@@ -1,5 +1,5 @@
extra_includes:
- rpy/geometryToString.h
- geometryToString.h
- wpystruct.h
- pybind11/eigen.h

View File

@@ -1,5 +1,5 @@
extra_includes:
- rpy/geometryToString.h
- geometryToString.h
- wpystruct.h
- pybind11/eigen.h

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: trajectory
classes:
wpi::math::TrapezoidProfile:
force_type_casters:

View File

@@ -1,6 +1,3 @@
defaults:
subpackage: path
classes:
wpi::math::TravelingSalesman:
methods: