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

Enable Octomap diff - #636

Open
dornhege wants to merge 3 commits into
moveit:indigo-develfrom
dornhege:cbrew_octomap_diff
Open

Enable Octomap diff#636
dornhege wants to merge 3 commits into
moveit:indigo-develfrom
dornhege:cbrew_octomap_diff

Conversation

@dornhege

@dornhege dornhege commented Jan 15, 2016

Copy link
Copy Markdown
Contributor

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.

}

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

Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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