reset odometry service update - tricycle controller#2081
reset odometry service update - tricycle controller#2081kuralme wants to merge 2 commits intoros-controls:masterfrom
Conversation
- atomic reset flag added - reset now called in update loop - test added
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2081 +/- ##
==========================================
+ Coverage 84.92% 84.97% +0.04%
==========================================
Files 153 153
Lines 14990 15024 +34
Branches 1291 1293 +2
==========================================
+ Hits 12731 12767 +36
+ Misses 1785 1782 -3
- Partials 474 475 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
christophfroehlich
left a comment
There was a problem hiding this comment.
LGTM, this looks better. And thanks for adding also tests for it.
|
Happy new year. Do I not need to mention this in release notes? If not, I will continue impementing this into the rest of the controllers |
Also a happy new year!
No because there is no new functionality here, you just have improved it by making it thread safe? |
|
I guess it'll be new for other controllers, not this one. I'll continue with controllers that has odometry implementations |
|
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. |
|
I forgot about this one. Unlike other three drive controllers this one still has reset odometry service. Should we merge it or close? @christophfroehlich
|
|
As the work is already done, I'd say we can merge this as it is. |
First part of changes for addressing the issue:
Note: I redefined the odometry_ object in the test class. If this doesnt seem ok i can change it to something else, like adding an odom getter method