-
Notifications
You must be signed in to change notification settings - Fork 670
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(gnss_poser): rework parameters (#5140)
* refactor(gnss_poser): rework parameters Signed-off-by: SKT-r <[email protected]> * remove unnecessary declaration from launch Signed-off-by: kminoda <[email protected]> --------- Signed-off-by: SKT-r <[email protected]> Signed-off-by: kminoda <[email protected]> Co-authored-by: SKT-r <[email protected]> Co-authored-by: kminoda <[email protected]>
- Loading branch information
1 parent
4558485
commit f2263e1
Showing
4 changed files
with
20 additions
and
24 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 |
---|---|---|
|
@@ -34,5 +34,6 @@ rclcpp_components_register_node(gnss_poser_node | |
) | ||
|
||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/**: | ||
ros__parameters: | ||
base_frame: base_link | ||
gnss_base_frame: gnss_base_link | ||
gnss_frame: gnss | ||
map_frame: map | ||
buff_epoch: 1 | ||
use_gnss_ins_orientation: true | ||
gnss_pose_pub_method: 0 |
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,35 +1,21 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<launch> | ||
<arg name="param_file" default="$(find-pkg-share gnss_poser)/config/gnss_poser.param.yaml"/> | ||
|
||
<arg name="input_topic_fix" default="/fix"/> | ||
<arg name="input_topic_orientation" default="/autoware_orientation"/> | ||
|
||
<arg name="output_topic_gnss_pose" default="gnss_pose"/> | ||
<arg name="output_topic_gnss_pose_cov" default="gnss_pose_cov"/> | ||
<arg name="output_topic_gnss_fixed" default="gnss_fixed"/> | ||
|
||
<arg name="base_frame" default="base_link"/> | ||
<arg name="gnss_base_frame" default="gnss_base_link"/> | ||
<arg name="gnss_frame" default="gnss"/> | ||
<arg name="map_frame" default="map"/> | ||
|
||
<arg name="buff_epoch" default="1"/> | ||
<arg name="use_gnss_ins_orientation" default="true"/> | ||
<arg name="gnss_pose_pub_method" default="0" description="0: Instant Value 1: Average Value 2: Median Value"/> | ||
|
||
<node pkg="gnss_poser" exec="gnss_poser" name="gnss_poser" output="screen"> | ||
<remap from="fix" to="$(var input_topic_fix)"/> | ||
<remap from="autoware_orientation" to="$(var input_topic_orientation)"/> | ||
<remap from="gnss_pose" to="$(var output_topic_gnss_pose)"/> | ||
<remap from="gnss_pose_cov" to="$(var output_topic_gnss_pose_cov)"/> | ||
<remap from="gnss_fixed" to="$(var output_topic_gnss_fixed)"/> | ||
|
||
<param name="base_frame" value="$(var base_frame)"/> | ||
<param name="gnss_base_frame" value="$(var gnss_base_frame)"/> | ||
<param name="gnss_frame" value="$(var gnss_frame)"/> | ||
<param name="map_frame" value="$(var map_frame)"/> | ||
|
||
<param name="buff_epoch" value="$(var buff_epoch)"/> | ||
<param name="use_gnss_ins_orientation" value="$(var use_gnss_ins_orientation)"/> | ||
<param name="gnss_pose_pub_method" value="$(var gnss_pose_pub_method)"/> | ||
<param from="$(var param_file)"/> | ||
</node> | ||
</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