Skip to content

Commit 223822e

Browse files
RobertWilbrandtfmauch
authored andcommitted
Use macro params consistently
This simplifies including ur_macro.xacro by itself, as it is no longer necessary to put some variable into both macro parameters and xacro arguments
1 parent 4936943 commit 223822e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

urdf/ur_macro.xacro

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,17 +91,17 @@
9191
<!-- ros2 control instance -->
9292
<xacro:ur_ros2_control
9393
name="${name}" prefix="${prefix}"
94-
use_fake_hardware="$(arg use_fake_hardware)"
94+
use_fake_hardware="${use_fake_hardware}"
9595
initial_positions="${initial_positions}"
96-
fake_sensor_commands="$(arg fake_sensor_commands)"
97-
headless_mode="$(arg headless_mode)"
96+
fake_sensor_commands="${fake_sensor_commands}"
97+
headless_mode="${headless_mode}"
9898
script_filename="$(arg script_filename)"
9999
output_recipe_filename="$(arg output_recipe_filename)"
100100
input_recipe_filename="$(arg input_recipe_filename)"
101101
tf_prefix=""
102102
hash_kinematics="${kinematics_hash}"
103103
robot_ip="$(arg robot_ip)"
104-
use_tool_communication="$(arg use_tool_communication)"/>
104+
use_tool_communication="${use_tool_communication}"/>
105105

106106
<!-- Add URDF transmission elements (for ros_control) -->
107107
<!--<xacro:ur_arm_transmission prefix="${prefix}" hw_interface="${transmission_hw_interface}" />-->

0 commit comments

Comments
 (0)