autowarefoundation / autoware.universe

https://autowarefoundation.github.io/autoware.universe/
Apache License 2.0
937 stars 613 forks source link

`traffic_light_roi_visualizer` does not handle unknown results well #7924

Open miursh opened 1 month ago

miursh commented 1 month ago

Checklist

Description

When the TLR outputs an unknown result, the visualizer:

Expected behavior

When the TLR outputs an unknown result, the visualizer:

Actual behavior

When the TLR outputs an unknown result, the visualizer:

Steps to reproduce

  1. launch logging_simulator.launch.xml ros2 launch autoware_launch logging_simulator.launch.xml map_path:=PATH_TP_MAP vehicle_model:=sample_vehicle sensor_model:=sample_sensor_kit vehicle:=false sensing:=true perception:=true planning:=false control:=false map:=true system:=false localization:=false rviz:=false
  2. run rqt_image_view ros2 run rqt_image_view rqt_image_view and see ~/debug/rois topic

Versions

OS: Ubuntu22.04 ROS2: humble Autoware: latest

Possible causes

The condition in this section is not good. https://github.com/autowarefoundation/autoware.universe/blob/main/perception/traffic_light_visualization/src/traffic_light_roi_visualizer/shape_draw.cpp#L50-L52

Possible approaches

Additional context

No response

vividf commented 1 month ago

@miursh Miura-san, may I ask who is handling this issue? Thanks ;)

miursh commented 1 month ago

@kminoda @YoshiRi How about this?

YoshiRi commented 1 month ago

This is assigned to @tzhong518. If urgent, I will handle it.

miursh commented 1 month ago

I urgently need the numerous errors appearing in the terminal to be removed

kminoda commented 1 month ago

@KhalilSelyan (cc: @tzhong518) Hi, thank you for the previous PR https://github.com/autowarefoundation/autoware.universe/pull/6985. However, the PR is flooding the terminal log (issue https://github.com/autowarefoundation/autoware.universe/issues/7924), so I will merge this temporary PR as a quick fix: https://github.com/autowarefoundation/autoware.universe/pull/8294

Would you consider handling this, not just with a quick fix but as a long term fix?