Skip to content

Commit

Permalink
fix warnings about deprecated load_yaml (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
christian-rauch authored Oct 11, 2023
1 parent 037b944 commit 93aa055
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<robot xmlns:xacro="http://www.ros.org/wiki/xacro">

<xacro:macro name="panda_arm_ros2_control" params="name initial_positions_file prefix">
<xacro:property name="initial_positions" value="${load_yaml(initial_positions_file)['initial_positions']}"/>
<xacro:property name="initial_positions" value="${xacro.load_yaml(initial_positions_file)['initial_positions']}"/>

<ros2_control name="${prefix}${name}" type="system">
<hardware>
Expand Down
2 changes: 1 addition & 1 deletion fanuc_moveit_config/config/fanuc.ros2_control.xacro
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<robot xmlns:xacro="http://www.ros.org/wiki/xacro">

<xacro:macro name="fanuc_ros2_control" params="name initial_positions_file">
<xacro:property name="initial_positions" value="${load_yaml(initial_positions_file)['initial_positions']}"/>
<xacro:property name="initial_positions" value="${xacro.load_yaml(initial_positions_file)['initial_positions']}"/>

<ros2_control name="${name}" type="system">
<hardware>
Expand Down

0 comments on commit 93aa055

Please sign in to comment.