diff --git a/rosbot_bringup/test/test_multirobot.py b/rosbot_bringup/test/test_multirobot.py index 2abcf4f7..621316f4 100644 --- a/rosbot_bringup/test/test_multirobot.py +++ b/rosbot_bringup/test/test_multirobot.py @@ -49,7 +49,7 @@ def generate_test_description(): }.items(), ) - delayed_bringup = TimerAction(period=5.0*i, actions=[bringup_launch]) + delayed_bringup = TimerAction(period=5.0 * i, actions=[bringup_launch]) actions.append(delayed_bringup) return LaunchDescription(actions) diff --git a/rosbot_controller/launch/controller.launch.py b/rosbot_controller/launch/controller.launch.py index 62b53af0..7e17d826 100644 --- a/rosbot_controller/launch/controller.launch.py +++ b/rosbot_controller/launch/controller.launch.py @@ -26,6 +26,7 @@ from launch_ros.actions import Node, SetParameter from launch_ros.substitutions import FindPackageShare + def generate_launch_description(): namespace = LaunchConfiguration("namespace") declare_namespace_arg = DeclareLaunchArgument( diff --git a/rosbot_gazebo/test/test_utils.py b/rosbot_gazebo/test/test_utils.py index efbb8022..5e4c61a7 100644 --- a/rosbot_gazebo/test/test_utils.py +++ b/rosbot_gazebo/test/test_utils.py @@ -60,7 +60,9 @@ def __init__(self, name="test_node", namespace=None): for range_topic_name in self.RANGE_SENSORS_TOPICS: sub = self.create_subscription(LaserScan, range_topic_name, self.ranges_callback, 10) self.range_subs.append(sub) - self.scan_sub = self.create_subscription(LaserScan, "scan_filtered", self.scan_callback, 10) + self.scan_sub = self.create_subscription( + LaserScan, "scan_filtered", self.scan_callback, 10 + ) # Timer - send cmd_vel and check if the time needed for speed stabilization has elapsed self.timer = self.create_timer(0.1, self.timer_callback)