From 82efefb2f600755dbd174332a567e70a10fea3b7 Mon Sep 17 00:00:00 2001 From: Andrew Shum Date: Fri, 16 Aug 2024 19:33:58 -0400 Subject: [PATCH] formatting --- mavlink/modules/flight_controller.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mavlink/modules/flight_controller.py b/mavlink/modules/flight_controller.py index 10d5a7e..78ddd80 100644 --- a/mavlink/modules/flight_controller.py +++ b/mavlink/modules/flight_controller.py @@ -301,7 +301,9 @@ def get_next_waypoint(self) -> "tuple[bool, drone_odometry.DronePosition | None] return drone_odometry.DronePosition.create(command.x, command.y, command.z) return False, None - def insert_waypoint(self, index: int, latitude: float, longitude: float, altitude: float) -> bool: + def insert_waypoint( + self, index: int, latitude: float, longitude: float, altitude: float + ) -> bool: """ Insert a waypoint into the current list of commands at a certain index and reupload the list to the drone. """