diff --git a/ros2_controllers_test_nodes/ros2_controllers_test_nodes/publisher_forward_position_controller.py b/ros2_controllers_test_nodes/ros2_controllers_test_nodes/publisher_forward_position_controller.py index 59a39164ec..5cf28ac604 100644 --- a/ros2_controllers_test_nodes/ros2_controllers_test_nodes/publisher_forward_position_controller.py +++ b/ros2_controllers_test_nodes/ros2_controllers_test_nodes/publisher_forward_position_controller.py @@ -46,8 +46,8 @@ def __init__(self): self.goals.append(float_goal) self.get_logger().info( - f'Publishing {len(goal_names)} goals on topic "{publish_topic}"\ - every {wait_sec_between_publish} s' + f"Publishing {len(goal_names)} goals on topic '{publish_topic}' " + f"every {wait_sec_between_publish} s'" ) self.publisher_ = self.create_publisher(Float64MultiArray, publish_topic, 1) diff --git a/ros2_controllers_test_nodes/ros2_controllers_test_nodes/publisher_joint_trajectory_controller.py b/ros2_controllers_test_nodes/ros2_controllers_test_nodes/publisher_joint_trajectory_controller.py index 4ed198515e..cb66f58468 100644 --- a/ros2_controllers_test_nodes/ros2_controllers_test_nodes/publisher_joint_trajectory_controller.py +++ b/ros2_controllers_test_nodes/ros2_controllers_test_nodes/publisher_joint_trajectory_controller.py @@ -129,8 +129,8 @@ def get_sub_param(sub_param): publish_topic = "/" + controller_name + "/" + "joint_trajectory" self.get_logger().info( - f'Publishing {len(goal_names)} goals on topic "{publish_topic}" every ' - "{wait_sec_between_publish} s" + f"Publishing {len(goal_names)} goals on topic '{publish_topic}' every " + f"{wait_sec_between_publish} s" ) self.publisher_ = self.create_publisher(JointTrajectory, publish_topic, 1)