Skip to content
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

Amcl ctest fix #114

Merged
merged 6 commits into from
Sep 29, 2018
Merged

Amcl ctest fix #114

merged 6 commits into from
Sep 29, 2018

Conversation

mhpanah
Copy link
Contributor

@mhpanah mhpanah commented Sep 27, 2018

The copyright template is not available and therefore I removed the copyright linter from the test. I've also removed the flake8 due to not checking the files correctly.

Addressing issue #109.

@mhpanah
Copy link
Contributor Author

mhpanah commented Sep 27, 2018

Will re-open this PR after PR #105 is reviewed.

@mhpanah mhpanah closed this Sep 27, 2018
@mhpanah mhpanah mentioned this pull request Sep 27, 2018
@mhpanah mhpanah reopened this Sep 28, 2018
@@ -20,9 +20,15 @@

/* Author: Brian Gerkey */

#include <boost/foreach.hpp>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There shouldn't be a need for this header. std has a suitable for statement now.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will address this issue on a separate PR.

@@ -391,7 +408,7 @@ void AmclNode::reconfigureCB(AMCLConfig & config, uint32_t level)
pf_ = pf_alloc(min_particles_, max_particles_,
alpha_slow_, alpha_fast_,
(pf_init_model_fn_t)AmclNode::uniformPoseGenerator,
(void *)map_);
<void *>(map_));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's happening here? This doesn't look like valid syntax to me. You've somehow converted a cast to void* into a template parameter of nothing, or am I reading this wrong?

Ah. It looks like this is missing the reinterpret_cast that you used below.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it's missing the reinterpret_cast. Thanks.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

Adding reinterpret_cast to line 411 to fix casting typo.
@mhpanah mhpanah merged commit d9c5ecd into ros-navigation:master Sep 29, 2018
ghost pushed a commit to logivations/navigation2 that referenced this pull request Mar 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants