Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
JosephTLockwood
left a comment
There was a problem hiding this comment.
Deleted printPoseEstimate on accident during cleanup
|
Records play a lot better with AdvantageKit logging, which is always appreciated. Any chance this gets merged? |
|
@KennanHunter Just a heads up, we have this with a few more updates located here. We focused on making it as easy as possible to integrate with AKit. I didn't push the most recent update here as it requires breaking the current PoseEstimator up (things may have changed, but at one point, it didn't like the record inside of records). @bhjelstrom Also, do you have recommendations on when to use IMU_ASSIST_MT1 vs IMU_ASSIST_EXTERNALIMU. I am assuming IMU_ASSIST_MT1 before the match and IMU_ASSIST_EXTERNALIMU during? |
|
@JosephTLockwood I like these changes a lot. My team is making its own version of LimelightHelpers that is more focused on april tags, more cleaned up, and has more support for unit tests. We also use Akit and we were planning on doing something similar to this eventually. If you are interested in contributing these changes to that, that would be awesome! If not, I'll add them eventually. |
Change RawFiducial, RawDetection, and PoseEstimate to a record.
The pull request also adds a few other small things.
PoseEstimate.DEFAULT, which makes a new default PoseEstimate with all initialized fieldstoString()to be able to access the above recordsequal()andisValid()to PoseEstimatedeprecatedfunctions (they were adding potential errors at this point)I'm so sorry about the formatting. I'm unsure about your formatting style, as you don't have one built-in, so I am just using mine.