Skip to content

Commit

Permalink
Revert "fix loading parameter behavior from yaml file. (#656)"
Browse files Browse the repository at this point in the history
This reverts commit eed4553.

Signed-off-by: Aditya Pande <[email protected]>
  • Loading branch information
adityapande-1995 committed Dec 15, 2023
1 parent eed4553 commit b46d073
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions demo_nodes_py/demo_nodes_py/parameters/async_param_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,7 @@ def main(args=None):
rclpy.spin_until_future_complete(node, future)
load_parameter_results = future.result()
if load_parameter_results is not None:
param_file_dict = parameter_dict_from_yaml_file(
param_file_path, False, target_nodes=['parameter_blackboard'])
param_file_dict = parameter_dict_from_yaml_file(param_file_path)
for i, v in enumerate(param_file_dict.keys()):
node.get_logger().info(f' {v}:')
node.get_logger().info(f' successful: '
Expand Down
2 changes: 1 addition & 1 deletion demo_nodes_py/demo_nodes_py/parameters/params.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/parameter_blackboard:
/param_test_target:
ros__parameters:
other_int_parameter: 0
int_parameter: 12
Expand Down

0 comments on commit b46d073

Please sign in to comment.