5 from pymavlink
import mavutil
7 master = mavutil.mavlink_connection(
"udp::14555", input=
False, dialect=
"array_test")
9 master.mav.system_time_send(1,2)
10 master.mav.array_test_0_send(1, [-3, -2, -1, 0], [1,2,3,4], [5,6,7,8], [9,10,11,12])
11 master.mav.array_test_1_send([1,2,3,4])
12 master.mav.array_test_3_send(1, [2,3,4,5])
13 master.mav.array_test_4_send([1,2,3,4], 5)
14 master.mav.array_test_5_send(
"test1",
"test2")
15 master.mav.array_test_6_send(1,2,3, [4,5], [6,7], [8,9], [10,11], [12,13], [14,15],
"long value", [1.1, 2.2], [3.3, 4.4])
16 master.mav.array_test_7_send([1.1, 2.2], [3.3, 4.4],
17 [4,5], [6,7], [8,9], [10,11], [12,13], [14,15],
"long value")
18 master.mav.array_test_8_send(1, [2.2, 3.3], [14,15])