Skip to content

Commit 2ae5d5e

Browse files
[ros2_control_demo_robot] Makes flake8 happy for rrbot_system_position_only_gazebo.launch.py
1 parent a4af596 commit 2ae5d5e

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

ros2_control_demo_robot/launch/rrbot_system_position_only_gazebo.launch.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,13 @@ def generate_launch_description():
3232
get_package_share_directory('gazebo_ros'), 'launch'), '/gazebo.launch.py']),
3333
)
3434

35-
ros2_control_demos_path = os.path.join(
36-
get_package_share_directory('ros2_control_demos'))
37-
3835
robot_description_path = os.path.join(
3936
get_package_share_directory('ros2_control_demo_robot'),
4037
'description',
4138
'rrbot_system_position_only.urdf.xacro')
42-
robot_description_config = xacro.process_file(robot_description_path,
43-
mappings={'simu' : 'true'})
39+
robot_description_config = xacro.process_file(
40+
robot_description_path,
41+
mappings={'simu': 'true'})
4442
robot_description = {'robot_description': robot_description_config.toxml()}
4543

4644
node_robot_state_publisher = Node(

0 commit comments

Comments
 (0)