Instructions to get traffic light detection working

asked 2020-02-14 08:23:23 -0600

pedroexe gravatar image

Hi everyone, I'm using Autoware (version 1.12.0) with LGSVL (version 2020.01) on Ubuntu 16.04. I'm doing a set of tests to assure that I can stimulate the main functionalities of autoware, testing on the BorregasAve map (from LGSVL), downloaded from the lgsvl/autoware-data github (commit 05658fee453454af1f9290e0a0f76d4f19d1bb89)

Right now, I'm trying to make the traffic light detection work, but with no success so far. In fact, I'm not really aware of how does the traffic light works, or how should I set it up. By looking on available .launch files, I understood that I need to launch both:

  <!-- traffic light recognition -->
  <!-- feat_proj -->
  <include file="$(find trafficlight_recognizer)/launch/feat_proj.launch" />


  <!-- region_tlr -->
  <include file="$(find trafficlight_recognizer)/launch/traffic_light_recognition.launch">
    <arg name="light_src" value="/traffic_signal_info" />
  </include>

Which is within the my_detection.launch file I'm using. I thought with that we should start the appropriate modules for traffic light recognition. However, it (apparently) does not. Camera data from LGSVL seems to be working properly, as I could set up the object detection with SSD.

As you can see in the image above, there is a traffic light in sight, but none is detected with the TrafficLightPlugin (RViz panel), neither tlr_result (or any other tlr topic) contains updated messages. Even though I manually drive the car nearer to the traffic light, there is still no detection. Was that expected?

image description

I went to the node page after the README file, but there is only an explanation on using feat_proj_lanelet2 (which does not exist in my Autoware project, perhaps because it is version 1.12.0).

Given that, I'd like to kindly ask you where can I find some sort of tutorial on setting up the traffic light detection. I know that there is also some detection based on neural networks, which is nice, but I'd like to have the vanilla version properly working before adding more complexity to the task.

I thank you all in advance. Cheers!

edit retag flag offensive close merge delete