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

Reference Issue #592 Added warning to AMCL when map is published on ... #604

Merged
merged 2 commits into from
Aug 2, 2017
Merged

Reference Issue #592 Added warning to AMCL when map is published on ... #604

merged 2 commits into from
Aug 2, 2017

Conversation

vik748
Copy link
Contributor

@vik748 vik748 commented Aug 1, 2017

...correct topic but its frame_id doesn't match the global_frame_id

…orrect topic but its frame_id doesn't match the global_frame_id
@@ -802,6 +802,11 @@ AmclNode::handleMapMessage(const nav_msgs::OccupancyGrid& msg)
msg.info.width,
msg.info.height,
msg.info.resolution);

if(msg.header.frame_id != global_frame_id_)
ROS_WARN("Frame_id of map received:'%s' doesn't match global_frame_id:'%s;'. This could cause issues with reading published topics",
Copy link
Contributor

Choose a reason for hiding this comment

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

this PR has a mix of tabs + spaces -- which is why github is rendering it odd. The amcl code base isn't perfect on style guide, but I do try to ask new code be mostly compatible. Could you update your changes to use ONLY spaces, and in particular 2 spaces indent for each new block (you can just push a new commit and I will squash later). 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.

Done.

@mikeferguson mikeferguson self-assigned this Aug 2, 2017
@mikeferguson mikeferguson merged commit d2fd4f3 into ros-planning:kinetic-devel Aug 2, 2017
@mikeferguson
Copy link
Contributor

Cherry picked to lunar

@vik748 vik748 deleted the amcl_map_global_id_warn branch August 3, 2017 14:09
gerkey pushed a commit to codebot/navigation that referenced this pull request Jan 19, 2018
johaq pushed a commit to CentralLabFacilities/navigation that referenced this pull request Mar 30, 2018
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

2 participants