Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(traffic_light): rename enable_fine_detection #1310

Merged
merged 12 commits into from
Feb 19, 2025
2 changes: 1 addition & 1 deletion autoware_launch/launch/autoware.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<arg name="rviz_respawn" default="true"/>
<!-- Perception -->
<arg name="perception_mode" default="lidar" description="select perception mode. camera_lidar_radar_fusion, camera_lidar_fusion, lidar_radar_fusion, lidar, radar"/>
<arg name="traffic_light_recognition/enable_fine_detection" default="true" description="enable traffic light fine detection"/>
<arg name="traffic_light_recognition/use_ml_detector" default="true" description="enable traffic light fine detection"/>
<!-- Auto mode setting-->
<arg name="enable_all_modules_auto_mode" default="false" description="enable all module's auto mode"/>
<arg name="is_simulation" default="false" description="Autoware's behavior will change depending on whether this is a simulation or not."/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
<arg name="data_path" default="$(env HOME)/autoware_data" description="packages data and artifacts directory path"/>
<arg name="lidar_detection_model" default="centerpoint" description="If the model name is not declared, the default model in perception.launch.xml will be used"/>
<arg name="all_traffic_light_camera" default="[camera6, camera7]" description="choose camera which use for traffic light recognition"/>
<arg name="traffic_light_recognition/ml_detection_model_type" default="fine_detection_model" description="select ml model for TL detection: fine_detection_model or whole_image_detection_model"/>

<include file="$(find-pkg-share tier4_perception_launch)/launch/perception.launch.xml">
<!-- Options to Switch Launch Function/Module -->
Expand Down Expand Up @@ -53,7 +54,8 @@
<arg name="data_path" value="$(var data_path)"/>

<arg name="use_traffic_light_recognition" value="$(var use_traffic_light_recognition)"/>
<arg name="traffic_light_recognition/enable_fine_detection" value="$(var traffic_light_recognition/enable_fine_detection)"/>
<arg name="traffic_light_recognition/use_ml_detector" value="$(var traffic_light_recognition/use_ml_detector)"/>
<arg name="traffic_light_recognition/ml_detection_model_type" value="$(var traffic_light_recognition/ml_detection_model_type)"/>
<arg name="traffic_light_recognition/fusion_only" value="false"/>
<arg name="all_traffic_light_camera" value="$(var all_traffic_light_camera)"/>

Expand Down Expand Up @@ -193,6 +195,8 @@

<!-- traffic light recognition parameters -->
<arg name="traffic_light_arbiter_param_path" value="$(find-pkg-share autoware_launch)/config/perception/traffic_light_arbiter/traffic_light_arbiter.param.yaml"/>
<arg name="traffic_light_recognition/whole_image_detector_model_path" value="$(var data_path)/tensorrt_yolox"/>
<arg name="traffic_light_recognition/whole_image_detector_model_name" value="yolox_s_car_ped_tl_detector_960_960_batch_1.onnx"/>
<arg
name="traffic_light_multi_camera_fusion_param_path"
value="$(find-pkg-share autoware_launch)/config/perception/traffic_light_multi_camera_fusion/traffic_light_multi_camera_fusion.param.yaml"
Expand Down
2 changes: 1 addition & 1 deletion autoware_launch/launch/e2e_simulator.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
<!-- Sensing -->
<arg name="launch_sensing_driver" value="$(var launch_sensing_driver)"/>
<!-- Perception-->
<arg name="traffic_light_recognition/enable_fine_detection" value="false"/>
<arg name="traffic_light_recognition/use_ml_detector" value="false"/>
<arg name="all_traffic_light_camera" value="$(var traffic_light_namespace)"/>
<!-- Tools -->
<arg name="rviz" value="$(var rviz)"/>
Expand Down
Loading