Skip to content

Commit

Permalink
Fix flake8
Browse files Browse the repository at this point in the history
Signed-off-by: Addisu Z. Taddese <[email protected]>
  • Loading branch information
azeey committed May 7, 2024
1 parent c79c448 commit affdb76
Show file tree
Hide file tree
Showing 9 changed files with 63 additions and 63 deletions.
14 changes: 7 additions & 7 deletions gz_ros2_control_demos/launch/cart_example_effort.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ def generate_launch_description():
# Get URDF via xacro
robot_description_content = Command(
[
PathJoinSubstitution([FindExecutable(name="xacro")]),
" ",
PathJoinSubstitution([FindExecutable(name='xacro')]),
' ',
PathJoinSubstitution(
[FindPackageShare("gz_ros2_control_demos"),
"urdf", "test_cart_effort.xacro.urdf"]
[FindPackageShare('gz_ros2_control_demos'),
'urdf', 'test_cart_effort.xacro.urdf']
),
]
)
robot_description = {"robot_description": robot_description_content}
robot_description = {'robot_description': robot_description_content}

node_robot_state_publisher = Node(
package='robot_state_publisher',
Expand All @@ -51,8 +51,8 @@ def generate_launch_description():
package='ros_gz_sim',
executable='create',
output='screen',
arguments=["-topic", "robot_description",
"-name", "cart", "-allow_renaming", "true"],
arguments=['-topic', 'robot_description',
'-name', 'cart', '-allow_renaming', 'true'],
)

load_joint_state_broadcaster = ExecuteProcess(
Expand Down
14 changes: 7 additions & 7 deletions gz_ros2_control_demos/launch/cart_example_position.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ def generate_launch_description():
# Get URDF via xacro
robot_description_content = Command(
[
PathJoinSubstitution([FindExecutable(name="xacro")]),
" ",
PathJoinSubstitution([FindExecutable(name='xacro')]),
' ',
PathJoinSubstitution(
[FindPackageShare("gz_ros2_control_demos"),
"urdf", "test_cart_position.xacro.urdf"]
[FindPackageShare('gz_ros2_control_demos'),
'urdf', 'test_cart_position.xacro.urdf']
),
]
)
robot_description = {"robot_description": robot_description_content}
robot_description = {'robot_description': robot_description_content}

node_robot_state_publisher = Node(
package='robot_state_publisher',
Expand All @@ -51,8 +51,8 @@ def generate_launch_description():
package='ros_gz_sim',
executable='create',
output='screen',
arguments=["-topic", "robot_description",
"-name", "cart", "-allow_renaming", "true"],
arguments=['-topic', 'robot_description',
'-name', 'cart', '-allow_renaming', 'true'],
)

load_joint_state_broadcaster = ExecuteProcess(
Expand Down
14 changes: 7 additions & 7 deletions gz_ros2_control_demos/launch/cart_example_velocity.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ def generate_launch_description():
# Get URDF via xacro
robot_description_content = Command(
[
PathJoinSubstitution([FindExecutable(name="xacro")]),
" ",
PathJoinSubstitution([FindExecutable(name='xacro')]),
' ',
PathJoinSubstitution(
[FindPackageShare("gz_ros2_control_demos"),
"urdf", "test_cart_velocity.xacro.urdf"]
[FindPackageShare('gz_ros2_control_demos'),
'urdf', 'test_cart_velocity.xacro.urdf']
),
]
)
robot_description = {"robot_description": robot_description_content}
robot_description = {'robot_description': robot_description_content}

node_robot_state_publisher = Node(
package='robot_state_publisher',
Expand All @@ -51,8 +51,8 @@ def generate_launch_description():
package='ros_gz_sim',
executable='create',
output='screen',
arguments=["-topic", "robot_description",
"-name", "cart", "-allow_renaming", "true"],
arguments=['-topic', 'robot_description',
'-name', 'cart', '-allow_renaming', 'true'],
)

load_joint_state_broadcaster = ExecuteProcess(
Expand Down
14 changes: 7 additions & 7 deletions gz_ros2_control_demos/launch/diff_drive_example.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ def generate_launch_description():
# Get URDF via xacro
robot_description_content = Command(
[
PathJoinSubstitution([FindExecutable(name="xacro")]),
" ",
PathJoinSubstitution([FindExecutable(name='xacro')]),
' ',
PathJoinSubstitution(
[FindPackageShare("gz_ros2_control_demos"),
"urdf", "test_diff_drive.xacro.urdf"]
[FindPackageShare('gz_ros2_control_demos'),
'urdf', 'test_diff_drive.xacro.urdf']
),
]
)
robot_description = {"robot_description": robot_description_content}
robot_description = {'robot_description': robot_description_content}

node_robot_state_publisher = Node(
package='robot_state_publisher',
Expand All @@ -51,8 +51,8 @@ def generate_launch_description():
package='ros_gz_sim',
executable='create',
output='screen',
arguments=["-topic", "robot_description", "-name",
"diff_drive", "-allow_renaming", "true"],
arguments=['-topic', 'robot_description', '-name',
'diff_drive', '-allow_renaming', 'true'],
)

load_joint_state_broadcaster = ExecuteProcess(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ def generate_launch_description():
# Get URDF via xacro
robot_description_content = Command(
[
PathJoinSubstitution([FindExecutable(name="xacro")]),
" ",
PathJoinSubstitution([FindExecutable(name='xacro')]),
' ',
PathJoinSubstitution(
[FindPackageShare("gz_ros2_control_demos"),
"urdf", "test_gripper_mimic_joint_effort.xacro.urdf"]
[FindPackageShare('gz_ros2_control_demos'),
'urdf', 'test_gripper_mimic_joint_effort.xacro.urdf']
),
]
)
robot_description = {"robot_description": robot_description_content}
robot_description = {'robot_description': robot_description_content}

node_robot_state_publisher = Node(
package='robot_state_publisher',
Expand All @@ -54,8 +54,8 @@ def generate_launch_description():
package='ros_gz_sim',
executable='create',
output='screen',
arguments=["-topic", "robot_description", "-name",
"gripper", "-allow_renaming", "true"],
arguments=['-topic', 'robot_description', '-name',
'gripper', '-allow_renaming', 'true'],
)

load_joint_state_broadcaster = ExecuteProcess(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ def generate_launch_description():
# Get URDF via xacro
robot_description_content = Command(
[
PathJoinSubstitution([FindExecutable(name="xacro")]),
" ",
PathJoinSubstitution([FindExecutable(name='xacro')]),
' ',
PathJoinSubstitution(
[FindPackageShare("gz_ros2_control_demos"),
"urdf", "test_gripper_mimic_joint_position.xacro.urdf"]
[FindPackageShare('gz_ros2_control_demos'),
'urdf', 'test_gripper_mimic_joint_position.xacro.urdf']
),
]
)
robot_description = {"robot_description": robot_description_content}
robot_description = {'robot_description': robot_description_content}

node_robot_state_publisher = Node(
package='robot_state_publisher',
Expand All @@ -54,8 +54,8 @@ def generate_launch_description():
package='ros_gz_sim',
executable='create',
output='screen',
arguments=["-topic", "robot_description", "-name",
"gripper", "-allow_renaming", "true"],
arguments=['-topic', 'robot_description', '-name',
'gripper', '-allow_renaming', 'true'],
)

load_joint_state_broadcaster = ExecuteProcess(
Expand Down
14 changes: 7 additions & 7 deletions gz_ros2_control_demos/launch/pendulum_example_effort.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ def generate_launch_description():
# Get URDF via xacro
robot_description_content = Command(
[
PathJoinSubstitution([FindExecutable(name="xacro")]),
" ",
PathJoinSubstitution([FindExecutable(name='xacro')]),
' ',
PathJoinSubstitution(
[FindPackageShare("gz_ros2_control_demos"),
"urdf", "test_pendulum_effort.xacro.urdf"]
[FindPackageShare('gz_ros2_control_demos'),
'urdf', 'test_pendulum_effort.xacro.urdf']
),
]
)
robot_description = {"robot_description": robot_description_content}
robot_description = {'robot_description': robot_description_content}

node_robot_state_publisher = Node(
package='robot_state_publisher',
Expand All @@ -51,8 +51,8 @@ def generate_launch_description():
package='ros_gz_sim',
executable='create',
output='screen',
arguments=["-topic", "robot_description",
"-name", "cart", "-allow_renaming", "true"],
arguments=['-topic', 'robot_description',
'-name', 'cart', '-allow_renaming', 'true'],
)

load_joint_state_broadcaster = ExecuteProcess(
Expand Down
14 changes: 7 additions & 7 deletions gz_ros2_control_demos/launch/pendulum_example_position.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ def generate_launch_description():
# Get URDF via xacro
robot_description_content = Command(
[
PathJoinSubstitution([FindExecutable(name="xacro")]),
" ",
PathJoinSubstitution([FindExecutable(name='xacro')]),
' ',
PathJoinSubstitution(
[FindPackageShare("gz_ros2_control_demos"),
"urdf", "test_pendulum_position.xacro.urdf"]
[FindPackageShare('gz_ros2_control_demos'),
'urdf', 'test_pendulum_position.xacro.urdf']
),
]
)
robot_description = {"robot_description": robot_description_content}
robot_description = {'robot_description': robot_description_content}

node_robot_state_publisher = Node(
package='robot_state_publisher',
Expand All @@ -51,8 +51,8 @@ def generate_launch_description():
package='ros_gz_sim',
executable='create',
output='screen',
arguments=["-topic", "robot_description",
"-name", "cart", "-allow_renaming", "true"],
arguments=['-topic', 'robot_description',
'-name', 'cart', '-allow_renaming', 'true'],
)

load_joint_state_broadcaster = ExecuteProcess(
Expand Down
14 changes: 7 additions & 7 deletions gz_ros2_control_demos/launch/tricycle_drive_example.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ def generate_launch_description():
# Get URDF via xacro
robot_description_content = Command(
[
PathJoinSubstitution([FindExecutable(name="xacro")]),
" ",
PathJoinSubstitution([FindExecutable(name='xacro')]),
' ',
PathJoinSubstitution(
[FindPackageShare("gz_ros2_control_demos"),
"urdf", "test_tricycle_drive.xacro.urdf"]
[FindPackageShare('gz_ros2_control_demos'),
'urdf', 'test_tricycle_drive.xacro.urdf']
),
]
)
robot_description = {"robot_description": robot_description_content}
robot_description = {'robot_description': robot_description_content}

node_robot_state_publisher = Node(
package='robot_state_publisher',
Expand All @@ -51,8 +51,8 @@ def generate_launch_description():
package='ros_gz_sim',
executable='create',
output='screen',
arguments=["-topic", "robot_description", "-name",
"tricyle", "-allow_renaming", "true"],
arguments=['-topic', 'robot_description', '-name',
'tricyle', '-allow_renaming', 'true'],
)

load_joint_state_broadcaster = ExecuteProcess(
Expand Down

0 comments on commit affdb76

Please sign in to comment.