update README, add position_with_ref()

This commit is contained in:
junzis 2016-08-16 15:56:05 +02:00
parent 2fccacd724
commit 2f89d1a95c

View File

@ -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