Skip to content

Commit

Permalink
chore(dynamic_avoidance): revert debug marker's color (autowarefounda…
Browse files Browse the repository at this point in the history
…tion#4450)

Revert "chore(dynamic_avoidance): change debug marker's color (autowarefoundation#3926)"

This reverts commit fc08b4f.
  • Loading branch information
takayuki5168 committed Dec 25, 2023
1 parent 290de54 commit f086086
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,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(0.7, 0.15, 0.9, 0.8));
tier4_autoware_utils::createMarkerColor(1.0, 0.5, 0.6, 0.8));
marker.pose = obj_pose;

marker_array.markers.push_back(marker);
Expand All @@ -68,8 +68,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.1, 0.0, 0.0),
tier4_autoware_utils::createMarkerColor(0.7, 0.15, 0.9, 0.8));
tier4_autoware_utils::createMarkerScale(0.05, 0.0, 0.0),
tier4_autoware_utils::createMarkerColor(1.0, 0.5, 0.6, 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) {
Expand Down

0 comments on commit f086086

Please sign in to comment.