Omni wheel drive odometry update#2286
Open
Devdoot57 wants to merge 6 commits into
Open
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #2286 +/- ##
==========================================
- Coverage 86.76% 86.66% -0.11%
==========================================
Files 148 149 +1
Lines 15838 15897 +59
Branches 1347 1351 +4
==========================================
+ Hits 13742 13777 +35
- Misses 1601 1622 +21
- Partials 495 498 +3
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
Contributor
|
This PR is stale because it has been open for 45 days with no activity. Please tag a maintainer for help on completing this PR, or close it if you think it has become obsolete. |
Contributor
|
This pull request is in conflict. Could you fix it @Devdoot57? |
|
|
||
| bool update_from_pos(const std::vector<double> & wheels_pos, double dt); | ||
| bool update_from_vel(const std::vector<double> & wheels_vel, double dt); | ||
| bool try_update_open_loop( |
Member
There was a problem hiding this comment.
Suggested change
| bool try_update_open_loop( | |
| bool update_open_loop( |
why the try_ prefix here?
Member
Contributor
There was a problem hiding this comment.
I don't really remember the reason now, update_open_loop would be better though.
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
This PR updates the
omni_wheel_drive_controllerodometry implementation to usedouble dtfor integration instead of relying onrclcpp::Time(matching #1854). It also introduces a comprehensivegtestsuite to verify the holonomic kinematics and integration math (matching #2099).This rolls out the architectural improvements requested in #2039 for the omni-wheel base.
Changes:
updateFromPos,updateFromVel, andupdateOpenLoop. Replaced withupdate_from_pos,update_from_vel, andtry_update_open_loop.test_odometry.cppcovering:dtrejection.