From fc08b4f11770a6a2ac137ec8121c20f51179ca68 Mon Sep 17 00:00:00 2001 From: Takayuki Murooka Date: Fri, 9 Jun 2023 20:33:00 +0900 Subject: [PATCH] chore(dynamic_avoidance): change debug marker's color (#3926) Signed-off-by: Takayuki Murooka --- .../dynamic_avoidance/dynamic_avoidance_module.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/planning/behavior_path_planner/src/scene_module/dynamic_avoidance/dynamic_avoidance_module.cpp b/planning/behavior_path_planner/src/scene_module/dynamic_avoidance/dynamic_avoidance_module.cpp index 47c29be29c2a3..7ece399bf450c 100644 --- a/planning/behavior_path_planner/src/scene_module/dynamic_avoidance/dynamic_avoidance_module.cpp +++ b/planning/behavior_path_planner/src/scene_module/dynamic_avoidance/dynamic_avoidance_module.cpp @@ -101,7 +101,7 @@ void appendObjectMarker(MarkerArray & marker_array, const geometry_msgs::msg::Po "map", rclcpp::Clock{RCL_ROS_TIME}.now(), "dynamic_objects_to_avoid", marker_array.markers.size(), visualization_msgs::msg::Marker::CUBE, tier4_autoware_utils::createMarkerScale(3.0, 1.0, 1.0), - tier4_autoware_utils::createMarkerColor(1.0, 0.5, 0.6, 0.8)); + tier4_autoware_utils::createMarkerColor(0.7, 0.15, 0.9, 0.8)); marker.pose = obj_pose; marker_array.markers.push_back(marker); @@ -113,8 +113,8 @@ void appendExtractedPolygonMarker( auto marker = tier4_autoware_utils::createDefaultMarker( "map", rclcpp::Clock{RCL_ROS_TIME}.now(), "extracted_polygons", marker_array.markers.size(), visualization_msgs::msg::Marker::LINE_STRIP, - tier4_autoware_utils::createMarkerScale(0.05, 0.0, 0.0), - tier4_autoware_utils::createMarkerColor(1.0, 0.5, 0.6, 0.8)); + tier4_autoware_utils::createMarkerScale(0.1, 0.0, 0.0), + tier4_autoware_utils::createMarkerColor(0.7, 0.15, 0.9, 0.8)); // NOTE: obj_poly.outer() has already duplicated points to close the polygon. for (size_t i = 0; i < obj_poly.outer().size(); ++i) {