From 161ea31ee1d3ebffc617ae7c006a8ce65ea51055 Mon Sep 17 00:00:00 2001 From: Huy Vu <> Date: Tue, 27 Mar 2018 13:04:52 +0200 Subject: [PATCH] Minor change BDS 5,0 roll, if status and sign bit are both 1, roll angle was -90 degrees. --- pyModeS/decoder/bds/bds50.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyModeS/decoder/bds/bds50.py b/pyModeS/decoder/bds/bds50.py index 7d759bd..2584db9 100644 --- a/pyModeS/decoder/bds/bds50.py +++ b/pyModeS/decoder/bds/bds50.py @@ -55,7 +55,7 @@ def isBDS50(msg): if wrongstatus(d, 46, 47, 56): return False - if d[2:11] != "000000000": + if d[1:11] != "0000000000": roll = abs(roll50(msg)) if roll and roll > 60: return False