Skip to content

Commit fab019c

Browse files
committed
add map_loader_name in param.yaml
Signed-off-by: Kento Yabuuchi <kento.yabuuchi.2@tier4.jp>
1 parent 7c0dc46 commit fab019c

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

localization/pose_initializer/config/pose_initializer.param.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
ndt_enabled: $(var ndt_enabled)
99
stop_check_enabled: $(var stop_check_enabled)
1010

11+
map_loader_name: /map/pointcloud_map_loader
12+
1113
# from gnss
1214
gnss_particle_covariance:
1315
[

localization/pose_initializer/launch/pose_initializer.launch.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<remap from="pose_reset" to="/initialpose3d"/>
1818
<remap from="ekf_trigger_node" to="/localization/pose_twist_fusion_filter/trigger_node"/>
1919
<remap from="ndt_trigger_node" to="/localization/pose_estimator/trigger_node"/>
20-
<param name="map_loader_name" value="/map/pointcloud_map_loader"/>
20+
2121
<remap from="~/pointcloud_map" to="/map/pointcloud_map"/>
2222
<remap from="~/partial_map_load" to="/map/get_partial_pointcloud_map"/>
2323
</node>

localization/pose_initializer/schema/pose_initializer.schema.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@
5252
"type": "array",
5353
"description": "output pose covariance",
5454
"default": "[1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.01, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.01, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.01, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.2]"
55+
},
56+
"map_loader_name": {
57+
"type": "string",
58+
"description": "Node name of the map loader from which this node will retrieve its parameters",
59+
"default": "/map/pointcloud_map_loader"
5560
}
5661
},
5762
"required": [
@@ -63,7 +68,8 @@
6368
"ndt_enabled",
6469
"stop_check_enabled",
6570
"gnss_particle_covariance",
66-
"output_pose_covariance"
71+
"output_pose_covariance",
72+
"map_loader_name"
6773
],
6874
"additionalProperties": false
6975
}

0 commit comments

Comments
 (0)