Skip to content

Commit

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

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
  • Loading branch information
takayuki5168 authored Jun 9, 2023
1 parent 21b6403 commit fc08b4f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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) {
Expand Down

0 comments on commit fc08b4f

Please sign in to comment.