Skip to content

Commit

Permalink
feat(pose_initilizer): set intial pose directly (#937)
Browse files Browse the repository at this point in the history
* feat(pose_initilizer): set intial pose directly

Signed-off-by: Yamato Ando <[email protected]>

* rename params

Signed-off-by: Yamato Ando <[email protected]>

---------

Signed-off-by: Yamato Ando <[email protected]>
  • Loading branch information
YamatoAndo authored Apr 1, 2024
1 parent 791b90f commit 6ecc045
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
/**:
ros__parameters:
user_defined_initial_pose:
enable: $(var user_defined_initial_pose/enable)
pose: $(var user_defined_initial_pose/pose)

gnss_pose_timeout: 3.0 # [sec]
stop_check_duration: 3.0 # [sec]
ekf_enabled: $(var ekf_enabled)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<arg name="twist_source" default="gyro_odom" description="select twist_estimator. gyro_odom, eagleye"/>
<arg name="input_pointcloud" default="/sensing/lidar/concatenated/pointcloud" description="The topic will be used in the localization util module"/>
<arg name="localization_pointcloud_container_name" default="/pointcloud_container" description="The target container to which pointcloud preprocessing nodes in localization be attached"/>
<arg name="initial_pose" default="[]" description="initial pose (x, y, z, quat_x, quat_y, quat_z, quat_w)"/>

<group>
<include file="$(find-pkg-share tier4_localization_launch)/launch/localization.launch.xml">
Expand All @@ -13,6 +14,7 @@
<arg name="system_run_mode" value="$(var system_run_mode)"/>
<arg name="input_pointcloud" value="$(var input_pointcloud)"/>
<arg name="localization_pointcloud_container_name" value="$(var localization_pointcloud_container_name)"/>
<arg name="initial_pose" value="$(var initial_pose)"/>

<!-- parameter paths for common -->
<arg name="localization_error_monitor_param_path" value="$(var loc_config_path)/localization_error_monitor.param.yaml"/>
Expand Down

0 comments on commit 6ecc045

Please sign in to comment.