-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Speed-up global localization #248
Conversation
[#646] FAILED on kinetic
[#646] PASSED on melodicAll tests passed
|
CMakeLists.txt
Outdated
@@ -34,7 +34,7 @@ catkin_package( | |||
) | |||
|
|||
|
|||
add_compile_options(-std=c++11) | |||
add_compile_options(-std=c++17) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
c++17 is not ready on kinetic environment
Codecov Report
@@ Coverage Diff @@
## master #248 +/- ##
==========================================
+ Coverage 94.22% 94.36% +0.13%
==========================================
Files 25 21 -4
Lines 1559 1491 -68
==========================================
- Hits 1469 1407 -62
+ Misses 90 84 -6
Continue to review full report at Codecov.
|
[#647] FAILED on kinetic
[#647] PASSED on melodicAll tests passed
|
[#648] PASSED on kineticAll tests passed
[#648] PASSED on melodicAll tests passed
|
@nhatao please take a look |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Only a minor comment was added.
include/mcl_3dl/pf.h
Outdated
p_sum = 0; | ||
for (auto& p : particles_) | ||
|
||
const size_t num = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The variable name "num" is too vague.
In addition, because it is used only in if-block in L304, It is better to move this within that if-block.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
addressed 👍
[#649] PASSED on melodicAll tests passed
[#649] PASSED on kineticAll tests passed
|
for #247
Roughly 15% of time in the example #247 (comment) is reduced.