We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1093f22 commit 46c7e58Copy full SHA for 46c7e58
Python Projects/controlling drone using python/land.py
@@ -0,0 +1,10 @@
1
+from pymavlink import mavutil
2
+
3
+the_connection=mavutil.mavlink_connection('udpin:localhost:14551')
4
5
+the_connection.wait_heartbeat()
6
+print("Heartbeat from system (system %u component %u)" %
7
+ (the_connection.target_system, the_connection.target_component))
8
9
10
+the_connection.mav.command_long_send(the_connection.target_system, the_connection.target_component, mavutil.mavlink.MAV_CMD_NAV_LAND, 0, 0, 0, 0, 0, 0, 0, 0)
0 commit comments