Skip to content

Commit 2ed467a

Browse files
committed
Code formatting
1 parent 73ce711 commit 2ed467a

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

my_robot_cell/my_robot_cell_control/launch/start_robot.launch.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,12 @@ def generate_launch_description():
139139
headless_mode = LaunchConfiguration("headless_mode")
140140

141141
base_launch = IncludeLaunchDescription(
142-
PythonLaunchDescriptionSource([PathJoinSubstitution([FindPackageShare("ur_robot_driver"),"launch"]), "/ur_control.launch.py"]),
142+
PythonLaunchDescriptionSource(
143+
[
144+
PathJoinSubstitution([FindPackageShare("ur_robot_driver"), "launch"]),
145+
"/ur_control.launch.py",
146+
]
147+
),
143148
launch_arguments={
144149
"ur_type": ur_type,
145150
"robot_ip": robot_ip,

my_robot_cell/my_robot_cell_control/urdf/my_robot_cell_controlled.urdf.xacro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
<!--We need to specify the arguments used for parametrizing our description-->
1010
<!--Create a folder for wanted ur_type and copy those files from ur_description package in there; copied only ur20 files -->
11-
<!--You could aswell point to ur_description but this way you make sure you use the same files as start_robot.launch.py which searches in runtime_config_package for joint_limits.yaml, physical_parameters.yaml, visual_parameters.yaml and in description_package for default_kinematics.yaml (last one can be overwritten)-->
11+
<!--You could as well point to ur_description but this way you make sure you use the same files as start_robot.launch.py which searches in runtime_config_package for joint_limits.yaml, physical_parameters.yaml, visual_parameters.yaml and in description_package for default_kinematics.yaml (last one can be overwritten)-->
1212
<xacro:arg name="ur_type" default="ur20"/>
1313
<xacro:arg name="joint_limit_params" default="$(find my_robot_cell_control)/config/$(arg ur_type)/joint_limits.yaml"/>
1414
<xacro:arg name="kinematics_params" default="$(find my_robot_cell_control)/config/$(arg ur_type)/default_kinematics.yaml"/>
@@ -25,7 +25,7 @@
2525
<!--find hash_kinematics in kinematics_params-->
2626
<xacro:property name="kinematics_params_file" value="$(arg kinematics_params)"/>
2727
<xacro:property name="kinematics_hash" value="${xacro.load_yaml(kinematics_params_file)['kinematics']['hash']}"/>
28-
28+
2929

3030
<link name="world" />
3131

0 commit comments

Comments
 (0)