Skip to content
Open
Show file tree
Hide file tree
Changes from 53 commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
38ef95f
feat: add ChassisAccelerations class (similar to ChassisSpeeds but fo…
zachwaffle4 Aug 17, 2025
a9d58f9
add struct for accelerations
zachwaffle4 Aug 17, 2025
4a81fc8
feat: add protobuf for acceleration
zachwaffle4 Aug 17, 2025
d959a87
feat: implement Protobuf serialization for ChassisAccelerations (beca…
zachwaffle4 Aug 21, 2025
c502366
make spotless happy
zachwaffle4 Aug 21, 2025
2bb10ae
add c++ versions of the accelerations class/struct/proto
zachwaffle4 Aug 21, 2025
5c6329c
feat: create DifferentialDriveWheelAccelerations, MecanumDriveWheelAc…
zachwaffle4 Aug 21, 2025
0f6b1e0
feat: c++ implementations of DifferentialDriveWheelAccelerations, Mec…
zachwaffle4 Aug 21, 2025
84cf12d
fix: make spotless happy
zachwaffle4 Aug 21, 2025
7606950
add accelerations to the interface
zachwaffle4 Aug 21, 2025
998fc49
fix: update Kinematics type parameters in Odometry and PoseEstimator …
zachwaffle4 Aug 21, 2025
cb078b5
refactor: remove unused methods from ChassisAccelerations class
zachwaffle4 Aug 21, 2025
02da263
test: add unit tests for ChassisAccelerations and related classes
zachwaffle4 Aug 21, 2025
01683b1
test: add unit tests for ChassisAccelerations and related classes
zachwaffle4 Aug 21, 2025
a3a488a
add interpolation methods for wheelspeeds and accelerations and test …
zachwaffle4 Aug 21, 2025
44b3f13
fix: update documentation in ChassisAccelerations class to clarify ac…
zachwaffle4 Aug 22, 2025
a4e392e
refactor: replace angularAcceleration with angle in SwerveModuleAccel…
zachwaffle4 Aug 22, 2025
b5ee68d
refactor: update SwerveModuleAccelerations to use Rotation2d instead …
zachwaffle4 Aug 22, 2025
3156b9f
refactor: update SwerveDriveKinematics to use angle instead of angula…
zachwaffle4 Aug 22, 2025
2531ceb
refactor: include the proper second order kinematics calculation for …
zachwaffle4 Aug 22, 2025
5d4d723
refactor: update SwerveDriveKinematicsTest to include angular velocit…
zachwaffle4 Aug 22, 2025
5db0a78
refactor: extract the setting of inverse kinematics matrix in swerved…
zachwaffle4 Aug 23, 2025
adaeffd
refactor: update ChassisAccelerations constructor parameter descripti…
zachwaffle4 Aug 23, 2025
e1170ee
refactor: update SwerveModuleAccelerations struct and protobuf to use…
zachwaffle4 Aug 23, 2025
ae34fa1
refactor: run wpiformat
zachwaffle4 Aug 25, 2025
d773c96
refactor: clarify ChassisAccelerations documentation and fix example …
zachwaffle4 Aug 28, 2025
9b35978
refactor: reorganize includes and improve ChassisAccelerations docume…
zachwaffle4 Aug 29, 2025
39326d3
refactor: reorganize includes and improve ChassisAccelerations docume…
zachwaffle4 Aug 30, 2025
a836608
Merge remote-tracking branch 'upstream/2027' into kinematic-acceleration
zachwaffle4 Sep 26, 2025
d526033
refactor: replace MathUtil.interpolate() with MathUtil.lerp() in Chas…
zachwaffle4 Sep 26, 2025
f159365
refactor: add ForEachNested method and override getNested in SwerveMo…
zachwaffle4 Sep 27, 2025
2062c8f
refactor: enhance SwerveDriveKinematicsTest with detailed acceleratio…
zachwaffle4 Sep 27, 2025
41922e9
refactor: make gradle happy
zachwaffle4 Sep 27, 2025
e633c8c
test: add c++ unit tests for Chassis, DifferentialDrive, Mecanum, and…
zachwaffle4 Sep 27, 2025
ce2f912
refactor: use single line comments for test derivations
zachwaffle4 Sep 27, 2025
35d175c
wpiformat aka make gradle happy
zachwaffle4 Sep 27, 2025
3ec8179
make ~~gradle~~ the comment police happy
zachwaffle4 Sep 27, 2025
ce9a0a3
make gradle happy
zachwaffle4 Sep 27, 2025
9b36359
feat: add methods for converting between chassis and wheel accelerati…
zachwaffle4 Oct 10, 2025
32cfe2e
feat: add methods for converting between chassis and wheel accelerati…
zachwaffle4 Oct 10, 2025
43793f6
feat: add methods for converting between chassis and wheel accelerati…
zachwaffle4 Oct 10, 2025
9395b47
fix: update include for DifferentialDriveWheelAccelerations in Differ…
zachwaffle4 Oct 11, 2025
1302dde
feat: add support for module accelerations in SwerveDriveKinematics.h
zachwaffle4 Oct 11, 2025
acfac2e
feat: add wheel accelerations to odometry class templates
zachwaffle4 Oct 11, 2025
13628bb
feat: extend pose estimators to include wheel accelerations
zachwaffle4 Oct 11, 2025
ca3479c
feat: fix template issues and use eigen correctly
zachwaffle4 Oct 11, 2025
eab450f
feat: make acceleration methods in MecanumDriveKinematics.h public
zachwaffle4 Oct 11, 2025
1db1625
feat: remove redundant ToSwerveModuleAccelerations methods and add To…
zachwaffle4 Oct 11, 2025
bc62904
test: port the kinematics tests from the java version
zachwaffle4 Oct 11, 2025
1dad79e
make wpiformat happy one last time
zachwaffle4 Oct 11, 2025
8c70682
Merge remote-tracking branch 'upstream/2027' into kinematic-acceleration
zachwaffle4 Oct 11, 2025
32bed43
refactor: improve code formatting for clarity in MecanumDriveKinemati…
zachwaffle4 Oct 11, 2025
23c3dcc
fix: remove NOLINT from MecanumDriveKinematics.cpp
zachwaffle4 Oct 11, 2025
1a8faf4
refactor: remove wrong comments in SwerveDriveKinematics.java
zachwaffle4 Oct 12, 2025
6b07fba
refactor: correct Rotation2d initialization and simplify ToWheelAccel…
zachwaffle4 Oct 12, 2025
4afef0b
docs: add reference to second-order kinematics derivation in SwerveDr…
zachwaffle4 Oct 13, 2025
77f9bb0
docs: cite whitepaper for swerve kinematics with a comment instead of…
zachwaffle4 Oct 15, 2025
8e58cd4
make wpiformat happy
zachwaffle4 Oct 15, 2025
808d9e7
refactor: handle small linear acceleration case in SwerveModuleAccele…
zachwaffle4 Oct 17, 2025
e2baa93
test: update assertions in SwerveDriveKinematicsTest to use kEpsilon …
zachwaffle4 Oct 17, 2025
a77cbaf
commit suggestion !?
zachwaffle4 Oct 18, 2025
5d2a28b
test: update comparison assertion in SwerveModuleAccelerationsTest fo…
zachwaffle4 Oct 30, 2025
4b0be2d
style: improve code formatting in SwerveDriveKinematics and SwerveDri…
zachwaffle4 Oct 30, 2025
6cada91
test: improve readability of assertions in SwerveDriveKinematicsTest
zachwaffle4 Oct 30, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3,816 changes: 2,727 additions & 1,089 deletions wpimath/src/generated/main/java/edu/wpi/first/math/proto/Kinematics.java

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public class PoseEstimator<T> {
*/
@SuppressWarnings("PMD.UnusedFormalParameter")
public PoseEstimator(
Kinematics<?, T> kinematics,
Kinematics<?, ?, T> kinematics,
Odometry<T> odometry,
Matrix<N3, N1> stateStdDevs,
Matrix<N3, N1> visionMeasurementStdDevs) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public class PoseEstimator3d<T> {
*/
@SuppressWarnings("PMD.UnusedFormalParameter")
public PoseEstimator3d(
Kinematics<?, T> kinematics,
Kinematics<?, ?, T> kinematics,
Odometry3d<T> odometry,
Matrix<N4, N1> stateStdDevs,
Matrix<N4, N1> visionMeasurementStdDevs) {
Expand Down
Loading
Loading