Skip to content

Commit

Permalink
output logging defines out of namespace (ROS compatibility)
Browse files Browse the repository at this point in the history
  • Loading branch information
Armin Hornung committed Jun 7, 2011
1 parent 01cd207 commit 3b89dd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/octomap/octomap_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ namespace octomap {
/// A voxel defined by its center point3d and its side length
typedef std::pair<point3d, double> OcTreeVolume;

}

//Macros for compiling with an without ROS (for output logging)
#ifdef OCTOMAP_ROS
Expand All @@ -81,6 +82,5 @@ namespace octomap {
#define OCTOMAP_ERROR_STR(args) std::cerr << "ERROR: " << args << std::endl
#endif

}

#endif

0 comments on commit 3b89dd5

Please sign in to comment.