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.
chore(simple_object_merger): add config (autowarefoundation#6212)
* chore(simple_object_merger): add config Signed-off-by: scepter914 <scepter914@gmail.com> * fix typo Signed-off-by: scepter914 <scepter914@gmail.com> * fix config Signed-off-by: scepter914 <scepter914@gmail.com> * refactor Signed-off-by: scepter914 <scepter914@gmail.com> * merge main branch Signed-off-by: scepter914 <scepter914@gmail.com> * apply pre-commit Signed-off-by: scepter914 <scepter914@gmail.com> * merge main branch Signed-off-by: scepter914 <scepter914@gmail.com> * style(pre-commit): autofix --------- Signed-off-by: scepter914 <scepter914@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
edfca37
commit 0928cb6
Showing
4 changed files
with
24 additions
and
12 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,5 +25,6 @@ endif() | |
# Package | ||
ament_auto_package( | ||
INSTALL_TO_SHARE | ||
config | ||
launch | ||
) |
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
6 changes: 6 additions & 0 deletions
6
perception/simple_object_merger/config/simple_object_merger.param.yaml
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
/**: | ||
ros__parameters: | ||
update_rate_hz: 20.0 | ||
new_frame_id: "base_link" | ||
timeout_threshold: 1.0 | ||
input_topics: [""] |
13 changes: 2 additions & 11 deletions
13
perception/simple_object_merger/launch/simple_object_merger.launch.xml
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,18 +1,9 @@ | ||
<launch> | ||
<!-- Output --> | ||
<arg name="output/objects" default="~/output/objects"/> | ||
<!-- Parameter --> | ||
<arg name="update_rate_hz" default="20.0"/> | ||
<arg name="new_frame_id" default="base_link"/> | ||
<arg name="timeout_threshold" default="0.1"/> | ||
<arg name="input_topics" default="[]"/> | ||
<arg name="param_path" default="$(find-pkg-share simple_object_merger)/config/simple_object_merger.param.yaml"/> | ||
|
||
<!-- Node --> | ||
<node pkg="simple_object_merger" exec="simple_object_merger_node" name="simple_object_merger" output="screen"> | ||
<remap from="~/output/objects" to="$(var output/objects)"/> | ||
<param name="update_rate_hz" value="$(var update_rate_hz)"/> | ||
<param name="timeout_threshold" value="$(var timeout_threshold)"/> | ||
<param name="new_frame_id" value="$(var new_frame_id)"/> | ||
<param name="input_topics" value="$(var input_topics)"/> | ||
<param from="$(var param_path)"/> | ||
</node> | ||
</launch> |