Skip to content

Commit

Permalink
modified launch file to start lightnet-trt
Browse files Browse the repository at this point in the history
  • Loading branch information
chickenta2ta committed Jul 29, 2023
1 parent 0889852 commit 6a32d0d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions edge_auto_jetson_launch/launch/perception_jetson0.launch.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,13 @@
<arg name="input/image/is_raw" value="True" />
<arg name="output/objects" value="/perception/object_recognition/detection/rois$(var camera_id)" />
</include>

<let name="tensorrt_lightnet_is_installed" value="$(eval 'not &quot;$(find-pkg-share tensorrt_lightnet)&quot;')" />
<include file="$(find-pkg-share tensorrt_lightnet)/launch/tensorrt_lightnet.launch.xml" if="$(var tensorrt_lightnet_is_installed)">
<arg name="container_name" value="$(var container_name)" />
<arg name="input/image" value="/sensing/camera/$(var camera_name)/image_raw" />
<arg name="output/objects" value="/perception/object_recognition/detection/rois$(var camera_id)" />
</include>
</group>
</group> <!-- camera0 -->

Expand Down

0 comments on commit 6a32d0d

Please sign in to comment.