-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
- Loading branch information
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
diff --git a/include/grid_map_pcl/helpers.hpp b/include/grid_map_pcl/helpers.hpp | ||
index f3d9f38..fc94637 100644 | ||
--- a/include/grid_map_pcl/helpers.hpp | ||
+++ b/include/grid_map_pcl/helpers.hpp | ||
@@ -42,7 +42,11 @@ void saveGridMap( | ||
const std::string & mapTopic); | ||
|
||
inline void printTimeElapsedToRosInfoStream( | ||
+#if defined(__APPLE__) | ||
+ const std::chrono::steady_clock::time_point & start, | ||
+#else | ||
const std::chrono::system_clock::time_point & start, | ||
+#endif | ||
const std::string & prefix, | ||
const rclcpp::Logger & node_logger) | ||
{ |