From 8744be07b3fd0dae0be3ef685a7168db7cf337ba Mon Sep 17 00:00:00 2001 From: "Takagi, Isamu" Date: Thu, 1 Sep 2022 16:26:57 +0900 Subject: [PATCH] fix(mission_planner): fix function name renaming Signed-off-by: Takagi, Isamu --- .../src/mission_planner_lanelet2/utility_functions.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/planning/mission_planner/src/mission_planner_lanelet2/utility_functions.cpp b/planning/mission_planner/src/mission_planner_lanelet2/utility_functions.cpp index 0754bca36c0a3..e0ffe51d188fd 100644 --- a/planning/mission_planner/src/mission_planner_lanelet2/utility_functions.cpp +++ b/planning/mission_planner/src/mission_planner_lanelet2/utility_functions.cpp @@ -28,14 +28,14 @@ bool exists(const std::unordered_set & set, const lanelet::Id & id) return set.find(id) != set.end(); } -std::string toString(const geometry_msgs::msg::Pose & pose) +std::string to_string(const geometry_msgs::msg::Pose & pose) { std::stringstream ss; ss << "(" << pose.position.x << ", " << pose.position.y << "," << pose.position.z << ")"; return ss.str(); } -void setColor(std_msgs::msg::ColorRGBA * cl, double r, double g, double b, double a) +void set_color(std_msgs::msg::ColorRGBA * cl, double r, double g, double b, double a) { cl->r = r; cl->g = g; @@ -43,7 +43,7 @@ void setColor(std_msgs::msg::ColorRGBA * cl, double r, double g, double b, doubl cl->a = a; } -void insertMarkerArray( +void insert_marker_array( visualization_msgs::msg::MarkerArray * a1, const visualization_msgs::msg::MarkerArray & a2) { a1->markers.insert(a1->markers.end(), a2.markers.begin(), a2.markers.end());