Skip to content

Commit 5c7386a

Browse files
committed
Updated docstrings
1 parent fdf71be commit 5c7386a

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

mavlink/modules/flight_controller.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ def upload_commands(self, commands: "list[dronekit.Command]", timeout: float = 1
121121
Parameters
122122
----------
123123
commands: List of commands.
124+
timeout: Seconds (default of 10.0 seconds).
124125
125126
Returns
126127
-------
@@ -157,6 +158,7 @@ def upload_land_command(self, latitude: float, longitude: float, timeout: float)
157158
----------
158159
latitude: Decimal degrees.
159160
longitude: Decimal degrees.
161+
timeout: Seconds.
160162
161163
Returns
162164
-------
@@ -259,6 +261,10 @@ def download_commands(self, timeout: float = 10.0) -> "tuple[bool, list[dronekit
259261
"""
260262
Downloads the current list of commands from the drone.
261263
264+
Parameters
265+
----------
266+
timeout: Seconds (default of 10.0 seconds).
267+
262268
Returns
263269
-------
264270
tuple[bool, list[dronekit.Command]]
@@ -284,6 +290,10 @@ def get_next_waypoint(
284290
"""
285291
Gets the next waypoint.
286292
293+
Parameters
294+
----------
295+
timeout: Seconds.
296+
287297
Returns
288298
-------
289299
tuple[bool, drone_odometry.DronePosition | None]

0 commit comments

Comments
 (0)