Skip to content

Commit

Permalink
[ros2_control_demo_robot] Makes flake8 happy for rrbot_system_positio…
Browse files Browse the repository at this point in the history
…n_only_gazebo.launch.py
  • Loading branch information
olivier-stasse committed Feb 6, 2021
1 parent a4af596 commit 2ae5d5e
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,13 @@ def generate_launch_description():
get_package_share_directory('gazebo_ros'), 'launch'), '/gazebo.launch.py']),
)

ros2_control_demos_path = os.path.join(
get_package_share_directory('ros2_control_demos'))

robot_description_path = os.path.join(
get_package_share_directory('ros2_control_demo_robot'),
'description',
'rrbot_system_position_only.urdf.xacro')
robot_description_config = xacro.process_file(robot_description_path,
mappings={'simu' : 'true'})
robot_description_config = xacro.process_file(
robot_description_path,
mappings={'simu': 'true'})
robot_description = {'robot_description': robot_description_config.toxml()}

node_robot_state_publisher = Node(
Expand Down

0 comments on commit 2ae5d5e

Please sign in to comment.