Skip to content

Commit 56c89d2

Browse files
committed
rename SwerveModuleAccelerations to SwerveModuleAcceleration for consistency in robotpy
Signed-off-by: Zach Harel <[email protected]>
1 parent 7f81a4b commit 56c89d2

File tree

4 files changed

+6
-20
lines changed

4 files changed

+6
-20
lines changed

wpimath/robotpy_pybind_build_info.bzl

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

wpimath/src/main/python/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1547,7 +1547,7 @@ SwerveDriveOdometry = "wpi/math/kinematics/SwerveDriveOdometry.hpp"
15471547
SwerveDriveOdometry3d = "wpi/math/kinematics/SwerveDriveOdometry3d.hpp"
15481548
SwerveModulePosition = "wpi/math/kinematics/SwerveModulePosition.hpp"
15491549
SwerveModuleState = "wpi/math/kinematics/SwerveModuleState.hpp"
1550-
SwerveModuleAccelerations = "wpi/math/kinematics/SwerveModuleAccelerations.hpp"
1550+
SwerveModuleAcceleration = "wpi/math/kinematics/SwerveModuleAcceleration.hpp"
15511551

15521552

15531553
[tool.semiwrap.extension_modules."wpimath.spline._spline"]

wpimath/src/main/python/semiwrap/kinematics/SwerveDriveKinematics.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ classes:
8383
overloads:
8484
ModuleAccelerations&&... [const]:
8585
ignore: true
86-
const wpi::util::array<SwerveModuleAccelerations, NumModules>& [const]:
86+
const wpi::util::array<SwerveModuleAcceleration, NumModules>& [const]:
8787

8888
template_inline_code: |
8989
if constexpr (NumModules == 2) {

wpimath/src/main/python/semiwrap/kinematics/SwerveModuleAccelerations.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)