wpilibsuite / allwpilib

Official Repository of WPILibJ and WPILibC
https://wpilib.org/
Other
1.03k stars 606 forks source link

[wpimath] Add reset methods to Odometry #6702

Open spacey-sooty opened 1 month ago

spacey-sooty commented 1 month ago

Resolves https://github.com/wpilibsuite/allwpilib/issues/5001

spacey-sooty commented 3 weeks ago

Also, should these methods be added to PoseEstimator as well? (It should be a simple call do the odometry method and then clearing the pose buffer) I'm fine if deciding that gets moved into a separate issue (or the original issue) and this PR gets merged in the meantime

I'll open a seperate pr for that