Skip to content
This repository has been archived by the owner on Nov 13, 2017. It is now read-only.

Enable Octomap diff #636

Open
wants to merge 3 commits into
base: indigo-devel
Choose a base branch
from

Conversation

dornhege
Copy link
Contributor

@dornhege dornhege commented Jan 15, 2016

This is essentially #602 by @TheBrewCrew, which now also handles loading maps via the service correctly.

When the ROS parameter /move_group/octomap_diff is enabled, change detection is the OctoMap is enabled and only diffs are send instead of complete OcTrees.

This requires moveit/moveit_core#302 to work.

@@ -122,6 +122,12 @@ class OccupancyMapMonitor
return active_;
}

/** \brief Enable sending diffs of the occupancy map */
void enableOctomapDiff(bool enable) { octomap_diff_enable = enable; }
Copy link
Member

Choose a reason for hiding this comment

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

brackets, code line, etc should be on separate lines like the rest of this file and per ros style guidelines

Copy link
Contributor

Choose a reason for hiding this comment

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

Should this function be named setOctomapDiff(bool enable)?
Personally, I find enableXYZ(false); calls a bit weird. No hard feelings though.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

+1 sounds better to me.

@davetcoleman
Copy link
Member

+1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants