Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ashum68 committed Aug 16, 2024
1 parent 8471223 commit 82efefb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mavlink/modules/flight_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
"""
Expand Down

0 comments on commit 82efefb

Please sign in to comment.