From 16c83d15059a848ed1dc8f0c980bbaa94ad30d2b Mon Sep 17 00:00:00 2001 From: Junzi Sun Date: Tue, 2 Oct 2018 23:32:07 +0200 Subject: [PATCH] fix bug in NACv --- pyModeS/streamer/stream.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyModeS/streamer/stream.py b/pyModeS/streamer/stream.py index d9176d0..8308d21 100644 --- a/pyModeS/streamer/stream.py +++ b/pyModeS/streamer/stream.py @@ -136,15 +136,15 @@ class Stream(): if tc == 19: ac['HVE'], ac['VVE'] = pms.adsb.nuc_v(msg) if ac['ver'] in [1, 2]: - ac['EPU'], ac['VEPU'] = pms.adsb.nac_v(msg) + ac['HFOMr'], ac['VFOMr'] = pms.adsb.nac_v(msg) if tc == 29: ac['PE_RCu'], ac['PE_VPL'], ac['base'] = pms.adsb.sil(msg, ac['ver']) - ac['HFOMr'], ac['VFOMr'] = pms.adsb.nac_p(msg) + ac['EPU'], ac['VEPU'] = pms.adsb.nac_p(msg) if tc == 31: ac['ver'] = pms.adsb.version(msg) - ac['HFOMr'], ac['VFOMr'] = pms.adsb.nac_p(msg) + ac['EPU'], ac['VEPU'] = pms.adsb.nac_p(msg) ac['PE_RCu'], ac['PE_VPL'], ac['sil_base'] = pms.adsb.sil(msg, ac['ver']) if ac['ver'] == 1: