Skip to content

Commit

Permalink
fix deprecated xacro.py command
Browse files Browse the repository at this point in the history
  • Loading branch information
cjue committed Sep 22, 2021
1 parent 38e5dbf commit 8fdb8c8
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion kuka_eki_hw_interface/krl/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ We recommend that you copy the configuration files, edit the copies for your nee
In order to successfully launch the **kuka_eki_hw_interface** a parameter `robot_description` needs to be present on the ROS parameter server. This parameter can be set manually or by adding this line inside the launch file (replace support package and .xacro to match your application):

```xml
<param name="robot_description" command="$(find xacro)/xacro.py '$(find kuka_kr6_support)/urdf/kr6r900sixx.xacro'"/>
<param name="robot_description" command="$(find xacro)/xacro '$(find kuka_kr6_support)/urdf/kr6r900sixx.xacro'"/>
```

Make sure that the line is added before the `kuka_eki_hw_interface` itself is loaded.
Expand Down
2 changes: 1 addition & 1 deletion kuka_kr10_support/launch/load_kr10r1100sixx.launch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0"?>
<launch>
<param name="robot_description" command="$(find xacro)/xacro.py '$(find kuka_kr10_support)/urdf/kr10r1100sixx.xacro'"/>
<param name="robot_description" command="$(find xacro)/xacro '$(find kuka_kr10_support)/urdf/kr10r1100sixx.xacro'"/>
</launch>
2 changes: 1 addition & 1 deletion kuka_kr120_support/launch/load_kr120r2500pro.launch
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
<launch>
<!-- Load robot description to parameter server -->
<param name="robot_description" command="$(find xacro)/xacro.py '$(find kuka_kr120_support)/urdf/kr120r2500pro.xacro'"/>
<param name="robot_description" command="$(find xacro)/xacro '$(find kuka_kr120_support)/urdf/kr120r2500pro.xacro'"/>
</launch>
2 changes: 1 addition & 1 deletion kuka_kr210_support/launch/load_kr210l150.launch
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<launch>
<param name="robot_description" command="$(find xacro)/xacro.py '$(find kuka_kr210_support)/urdf/kr210l150.xacro'" />
<param name="robot_description" command="$(find xacro)/xacro '$(find kuka_kr210_support)/urdf/kr210l150.xacro'" />
</launch>
2 changes: 1 addition & 1 deletion kuka_kr6_support/launch/load_kr6r700sixx.launch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0"?>
<launch>
<param name="robot_description" command="$(find xacro)/xacro.py '$(find kuka_kr6_support)/urdf/kr6r700sixx.xacro'"/>
<param name="robot_description" command="$(find xacro)/xacro '$(find kuka_kr6_support)/urdf/kr6r700sixx.xacro'"/>
</launch>
2 changes: 1 addition & 1 deletion kuka_kr6_support/launch/load_kr6r900sixx.launch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0"?>
<launch>
<param name="robot_description" command="$(find xacro)/xacro.py '$(find kuka_kr6_support)/urdf/kr6r900sixx.xacro'"/>
<param name="robot_description" command="$(find xacro)/xacro '$(find kuka_kr6_support)/urdf/kr6r900sixx.xacro'"/>
</launch>
2 changes: 1 addition & 1 deletion kuka_lbr_iiwa_support/launch/load_lbr_iiwa_14_r820.launch
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<launch>
<param name="robot_description" command="$(find xacro)/xacro.py '$(find kuka_lbr_iiwa_support)/urdf/lbr_iiwa_14_r820.xacro'" />
<param name="robot_description" command="$(find xacro)/xacro '$(find kuka_lbr_iiwa_support)/urdf/lbr_iiwa_14_r820.xacro'" />
</launch>
2 changes: 1 addition & 1 deletion kuka_rsi_hw_interface/krl/KR_C2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ We recommend that you copy the configuration files, edit the copies for your nee
In order to successfully launch the **kuka_rsi_hardware_interface** a parameter `robot_description` needs to be present on the ROS parameter server. This parameter can be set manually or by adding this line inside the launch file (replace support package and `.xacro` to match your application):

```
<param name="robot_description" command="$(find xacro)/xacro.py '$(find kuka_kr6_support)/urdf/kr6r900sixx.xacro'"/>
<param name="robot_description" command="$(find xacro)/xacro '$(find kuka_kr6_support)/urdf/kr6r900sixx.xacro'"/>
```

Make sure that the line is added before the `kuka_hardware_interface` itself is loaded.
Expand Down
2 changes: 1 addition & 1 deletion kuka_rsi_hw_interface/krl/KR_C4/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ We recommend that you copy the configuration files, edit the copies for your nee
In order to successfully launch the **kuka_rsi_hardware_interface** a parameter `robot_description` needs to be present on the ROS parameter server. This parameter can be set manually or by adding this line inside the launch file (replace support package and .xacro to match your application):

```
<param name="robot_description" command="$(find xacro)/xacro.py '$(find kuka_kr6_support)/urdf/kr6r900sixx.xacro'"/>
<param name="robot_description" command="$(find xacro)/xacro '$(find kuka_kr6_support)/urdf/kr6r900sixx.xacro'"/>
```

Make sure that the line is added before the `kuka_hardware_interface` itself is loaded.
Expand Down
4 changes: 2 additions & 2 deletions kuka_rsi_hw_interface/test/test_two_robots.launch
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<launch>

<group ns="ag1">
<param name="robot_description" command="$(find xacro)/xacro.py '$(find kuka_agilus_support)/urdf/agilus.xacro'"/>
<param name="robot_description" command="$(find xacro)/xacro '$(find kuka_agilus_support)/urdf/agilus.xacro'"/>
<!-- Load RSI parameters -->
<rosparam file="$(find kuka_rsi_hw_interface)/test/ag1_params.yaml" command="load" />
<!-- Start node -->
Expand All @@ -22,7 +22,7 @@
</group>

<group ns="ag2">
<param name="robot_description" command="$(find xacro)/xacro.py '$(find kuka_agilus_support)/urdf/agilus.xacro'"/>
<param name="robot_description" command="$(find xacro)/xacro '$(find kuka_agilus_support)/urdf/agilus.xacro'"/>
<!-- Load RSI parameters -->
<rosparam file="$(find kuka_rsi_hw_interface)/test/ag2_params.yaml" command="load" />
<!-- Start node -->
Expand Down

0 comments on commit 8fdb8c8

Please sign in to comment.