Skip to content

Commit 5ab3d14

Browse files
committed
feat: fix param loader
Signed-off-by: yoshiri <yoshiyoshidetteiu@gmail.com>
1 parent 013c257 commit 5ab3d14

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

perception/probabilistic_occupancy_grid_map/launch/laserscan_based_occupancy_grid_map.launch.py

+4
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
from launch_ros.actions import ComposableNodeContainer
2626
from launch_ros.actions import LoadComposableNodes
2727
from launch_ros.descriptions import ComposableNode
28+
import launch_ros.parameter_descriptions
2829
import yaml
2930

3031

@@ -119,6 +120,9 @@ def launch_setup(context, *args, **kwargs):
119120
],
120121
parameters=[
121122
laserscan_based_occupancy_grid_map_node_params,
123+
launch_ros.parameter_descriptions.ParameterFile(
124+
param_file=laserscan_based_occupancy_grid_map_node_params["updater_param_file"],
125+
),
122126
{
123127
"input_obstacle_pointcloud": LaunchConfiguration("input_obstacle_pointcloud"),
124128
"input_obstacle_and_raw_pointcloud": LaunchConfiguration(

perception/probabilistic_occupancy_grid_map/launch/pointcloud_based_occupancy_grid_map.launch.py

+6
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
from launch_ros.actions import ComposableNodeContainer
2626
from launch_ros.actions import LoadComposableNodes
2727
from launch_ros.descriptions import ComposableNode
28+
import launch_ros.parameter_descriptions
2829
import yaml
2930

3031

@@ -74,6 +75,11 @@ def launch_setup(context, *args, **kwargs):
7475
],
7576
parameters=[
7677
pointcloud_based_occupancy_grid_map_node_params,
78+
launch_ros.parameter_descriptions.ParameterFile(
79+
param_file=pointcloud_based_occupancy_grid_map_node_params[
80+
"updater_param_file"
81+
],
82+
),
7783
],
7884
extra_arguments=[{"use_intra_process_comms": LaunchConfiguration("use_intra_process")}],
7985
),

0 commit comments

Comments
 (0)