Skip to content

Commit

Permalink
Merge pull request autowarefoundation#889 from tier4/hotfix/cherry-pi…
Browse files Browse the repository at this point in the history
…ck-887

fix(perception_launcher, traffic_light_recognition): fix a grammar error in gen2 checking, delete excessive f string
  • Loading branch information
Owen-Liuyuxuan authored Jun 26, 2024
2 parents 6e4bdb6 + de46018 commit a017f6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<arg name="lidar_detection_model" default="pointpainting" description="options: `centerpoint`, `apollo`, `pointpainting`, `clustering`"/>
<arg name="traffic_light_recognition/fusion_only" default="true" description="Whether to start only some of the signal recognition related nodes"/>

<group if="$(eval sensor_model == 'aip_xx1_gen2')">
<group if="$(eval &quot;'$(var sensor_model)' == 'aip_xx1_gen2'&quot;)">
<!-- 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.
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. -->
<include file="$(find-pkg-share autoware_launch)/launch/components/traffic_light_recognition/traffic_light.launch.xml"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,7 @@

def create_traffic_light_occlusion_predictor(namespace):
package = FindPackageShare("traffic_light_occlusion_predictor")
include = PathJoinSubstitution(
[package, f"launch/traffic_light_occlusion_predictor.launch.xml"]
)
include = PathJoinSubstitution([package, "launch/traffic_light_occlusion_predictor.launch.xml"])

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

0 comments on commit a017f6a

Please sign in to comment.