forked from autowarefoundation/autoware.universe
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Multi YOLOx launch is enabled with unique node names - Define 3 cameras and fix correct camera topics
- Loading branch information
Showing
6 changed files
with
51 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,25 @@ | ||
<?xml version="1.0"?> | ||
<launch> | ||
<!-- cspell:ignore finetune --> | ||
<arg name="input/image" default="/sensing/camera/camera0/image_rect_color"/> | ||
<arg name="input/image" default="/sensor/camera/fsp_l/image_raw"/> | ||
<arg name="output/objects" default="/perception/object_recognition/detection/rois0"/> | ||
<arg name="model_name" default="yolox-sPlus-T4-960x960-pseudo-finetune"/> | ||
<arg name="data_path" default="$(env HOME)/autoware_data" description="packages data and artifacts directory path"/> | ||
<arg name="yolox_param_path" default="$(find-pkg-share tensorrt_yolox)/config/yolox_s_plus_opt.param.yaml"/> | ||
<arg name="use_decompress" default="true" description="use image decompress"/> | ||
<arg name="use_decompress" default="false" description="use image decompress"/> | ||
<arg name="build_only" default="false" description="exit after trt engine is built"/> | ||
<arg name="img_id" default="0" description="camera_id"/> | ||
|
||
<node pkg="image_transport_decompressor" exec="image_transport_decompressor_node" name="image_transport_decompressor_node" if="$(var use_decompress)"> | ||
<remap from="~/input/compressed_image" to="$(var input/image)/compressed"/> | ||
<remap from="~/output/raw_image" to="$(var input/image)"/> | ||
</node> | ||
|
||
<node pkg="tensorrt_yolox" exec="tensorrt_yolox_node_exe" name="tensorrt_yolox" output="screen"> | ||
<node pkg="tensorrt_yolox" exec="tensorrt_yolox_node_exe" name="tensorrt_yolox_$(var img_id)" output="screen"> | ||
<remap from="~/in/image" to="$(var input/image)"/> | ||
<remap from="~/out/objects" to="$(var output/objects)"/> | ||
<param from="$(var yolox_param_path)" allow_substs="true"/> | ||
<param name="build_only" value="$(var build_only)"/> | ||
<!-- <param name="use_sim_time" value="true"/> --> | ||
</node> | ||
</launch> |