Robot Localizer#3754
Open
Andrewyx wants to merge 22 commits into
Open
Conversation
…re into Andrewyx/robot_localizer
nycrat
reviewed
May 30, 2026
Contributor
StarrryNight
left a comment
There was a problem hiding this comment.
Great work! Added some comments.
| * different | ||
| * @return True if the trajectories are different, false otherwise | ||
| */ | ||
| bool isNew(const Trajectory<double, double, double>& other, |
Contributor
There was a problem hiding this comment.
isDifferent could be a better representation of what the function does
| * different in degrees. | ||
| * @return True if the trajectories are different, false otherwise | ||
| */ | ||
| bool isNew(const Trajectory<Angle, AngularVelocity, AngularAcceleration>& other, |
| * different | ||
| * @return True if the trajectories are different, false otherwise | ||
| */ | ||
| virtual bool isNew(const Trajectory<P, V, A>& other, double threshold) const = 0; |
| * different | ||
| * @return True if the trajectories are different, false otherwise | ||
| */ | ||
| bool isNew(const Trajectory<Point, Vector, Vector>& other, |
| clock_gettime(CLOCK_MONOTONIC, &last_kicker_fired); | ||
| } | ||
| else if (direct_control_.power_control().chicker().has_chip_distance_meters() || | ||
| direct_control_.power_control() |
Contributor
There was a problem hiding this comment.
Might want to implement a chicker_status in power_control
Contributor
Author
There was a problem hiding this comment.
Okay that might be a good idea for a ticket, I think I understand what you mean
| // Robot 1 | ||
| Point(world_ptr->field().centerPoint() + | ||
| Vector(-world_ptr->field().centerCircleRadius(), 0)), | ||
| Vector(-0.95 * world_ptr->field().centerCircleRadius(), 0)), |
Contributor
There was a problem hiding this comment.
why are we doing this?
Contributor
Author
There was a problem hiding this comment.
Test just wasn't passing
849ef18 to
f8d7a63
Compare
b01b4dc to
4b62eae
Compare
…re into Andrewyx/robot_localizer
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Completes the ported changes from #3716, and implements the robot localizer, its various interfaces, and completes refactoring on much of the thunderloop pipeline.
Testing Done
Resolved Issues
Resolves #3725
Length Justification and Key Files to Review
thunderloop.cppprimitive_executor.cpprobot_localizer.cppReview Checklist
It is the reviewers responsibility to also make sure every item here has been covered
.hfile) should have a javadoc style comment at the start of them. For examples, see the functions defined inthunderbots/software/geom. Similarly, all classes should have an associated Javadoc comment explaining the purpose of the class.TODO(or similar) statements should either be completed or associated with a github issue