python_array_test_recv.py 266 B

123456789101112
  1. #!/usr/bin/env python
  2. # -*- coding: utf-8 -*-
  3. from __future__ import print_function
  4. from pymavlink import mavutil
  5. master = mavutil.mavlink_connection("udp::14555", dialect="array_test")
  6. while True:
  7. m = master.recv_msg()
  8. if m is not None:
  9. print(m)