From 2f89d1a95cb2175017b9a14ecbf3f316faf62fb6 Mon Sep 17 00:00:00 2001 From: junzis Date: Tue, 16 Aug 2016 15:56:05 +0200 Subject: [PATCH] update README, add position_with_ref() --- README.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.rst b/README.rst index 194b0f6..9b0a386 100644 --- a/README.rst +++ b/README.rst @@ -61,10 +61,15 @@ Core functions for ADS-B decoding: pms.adsb.icao(msg) pms.adsb.callsign(msg) pms.adsb.position(msg_even, msg_odd, t_even, t_odd) + pms.adsb.position_with_ref(msg, lat_ref, lon_ref) pms.adsb.altitude(msg) pms.adsb.velocity(msg) pms.adsb.speed_heading(msg) +**Hint: When you have a fix position of the aircraft or you know the +location of your receiver, it is convinent to use `position_with_ref()` method +to decode with only one position message (either odd or even)** + Core functions for EHS decoding: .. code:: python