Skip to content

Commit a017f6a

Browse files
Merge pull request autowarefoundation#889 from tier4/hotfix/cherry-pick-887
fix(perception_launcher, traffic_light_recognition): fix a grammar error in gen2 checking, delete excessive f string
2 parents 6e4bdb6 + de46018 commit a017f6a

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

autoware_launch/launch/components/tier4_perception_component.launch.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<arg name="lidar_detection_model" default="pointpainting" description="options: `centerpoint`, `apollo`, `pointpainting`, `clustering`"/>
1717
<arg name="traffic_light_recognition/fusion_only" default="true" description="Whether to start only some of the signal recognition related nodes"/>
1818

19-
<group if="$(eval sensor_model == 'aip_xx1_gen2')">
19+
<group if="$(eval &quot;'$(var sensor_model)' == 'aip_xx1_gen2'&quot;)">
2020
<!-- In the Gen2 sensor configuration, the traffic_light_recognition node is launched not through the conventional autoware.universe/launch/tier4_perception_launch but with its own custom launch file.
2121
This is because autoware.universe's launch files do not support an arbitrary number of cameras. If autoware.universe's launch files were to support it, it is recommended to use them instead. -->
2222
<include file="$(find-pkg-share autoware_launch)/launch/components/traffic_light_recognition/traffic_light.launch.xml"/>

autoware_launch/launch/components/traffic_light_recognition/traffic_light_occlusion_predictor.launch.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,7 @@
2727

2828
def create_traffic_light_occlusion_predictor(namespace):
2929
package = FindPackageShare("traffic_light_occlusion_predictor")
30-
include = PathJoinSubstitution(
31-
[package, f"launch/traffic_light_occlusion_predictor.launch.xml"]
32-
)
30+
include = PathJoinSubstitution([package, "launch/traffic_light_occlusion_predictor.launch.xml"])
3331

3432
input_camera_info = f"/sensing/camera/{namespace}/camera_info"
3533
output_rois = f"/perception/traffic_light_recognition/{namespace}/detection/rois"

0 commit comments

Comments
 (0)