Skip to content

Commit

Permalink
pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
rafal-gorecki committed Nov 29, 2024
1 parent 7f35021 commit d8e9002
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rosbot_bringup/test/test_multirobot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions rosbot_controller/launch/controller.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
4 changes: 3 additions & 1 deletion rosbot_gazebo/test/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit d8e9002

Please sign in to comment.