Commit Graph

269 Commits

Author SHA1 Message Date
Junzi Sun
fdfa2b3fab fix typing 2024-08-25 12:45:24 +02:00
Junzi Sun
b22734ad51 fix typing 2024-08-25 12:37:37 +02:00
Junzi Sun
e2de7bc9ac fix typing 2024-08-25 12:33:28 +02:00
gituser283
74ea61fb11
fix decoder and uncertainty issues (#146)
* Created branch mods20230421a

* nic_v2 NIC return is set to None when a KeyError exception is raised

* process_raw receives additional return values from nuc_p, nic_v2, nuc_v, nac_v, nac_p .  hum44, p44, temp44, turb44, wind44, tk50, gs50, roc60baro, roc60ins, tc, and icao added to acs dictionary.

---------

Co-authored-by: Mike M <>
2024-08-25 12:27:12 +02:00
Junzi Sun
08218f558d
Merge pull request #151 from junzis/quantities
Some annotations for physical quantities
2024-08-25 12:23:36 +02:00
Junzi Sun
8acbdf186c
Merge pull request #170 from chrislanzara/master
Fixed "Megnatic" typo
2024-08-25 12:23:03 +02:00
kirth123
01ceb8114a
deleted all the previous commits that were causing problems and added a new commit with better comments (#172) 2024-08-25 12:20:51 +02:00
Chris
4a7c719978
Fixed "Magnetic" typo 2024-07-03 22:49:24 +01:00
Flyer350
582a0d2188
DI = 1 correction for uplink messages (#157)
* Update uplink.py

Adding lockout for DI = 1

* Update uplink.py
2023-12-18 23:03:34 +01:00
Junzi Sun
45ae55d965
Merge pull request #161 from Flyer350/patch-11
Update allcall.py
2023-12-18 23:02:16 +01:00
Paul de Jong
eea09227b0 c_common.py: return -999999 (extremely low, physically impossible) altitude in case altitude is unknown or invalid, bds04.py: convert -999999 altitude to None to better signal an invalid/unknown decoded altitude to the user 2023-12-18 16:40:44 +01:00
Flyer350
852315ed2d
Update allcall.py
Modified a mistake in the interpretation of CA field 7.
See ICAO Annex 10, Vol IV., 3.1.2.5.2.2.1
2023-12-04 14:33:36 +01:00
Xavier Olive
8d9a8df9d9 minor fix 2023-07-18 13:47:06 +00:00
Xavier Olive
458a78c30b add the decoding of the gps status indicator 2023-07-18 13:42:16 +00:00
Xavier Olive
b1f8f6ed62
Some annotations for quantities 2023-06-14 22:50:33 +02:00
Paul de Jong
50864b56aa
Remove rounding in pyModeS (#147)
* Update bds50.py: round roll to 3 places instead of 1

Provide a bit more detail for smaller roll angles.

* remove rounding

* update poetry

* update poetry

* update test

* update bds06

* update workflow

---------

Co-authored-by: Junzi Sun <junzisun@gmail.com>
2023-05-22 17:00:58 +02:00
Xavier Olive
4e19ecdfa9 minor changes, new release 2023-02-14 18:39:52 +01:00
Nicholas (Nick) Kruzan
0d7a310007
Update py_common.py (#143) 2023-02-12 13:20:42 +01:00
Xavier Olive
4cf99e8927
switch to poetry (#135) 2022-12-27 23:58:28 +01:00
Xavier Olive
90f35a8f29 FLARM decoder 2022-12-04 00:08:25 +01:00
Xavier Olive
87e6f50486 FLARM decoder 2022-12-04 00:04:55 +01:00
Xavier Olive
9d82f9b9c9 compatibility with Python 3.7 2022-11-01 20:38:29 +09:00
Xavier Olive
51222372b1 fully annotated code 2022-11-01 16:32:42 +09:00
John Wyman
6a427c08b5 Update display to remove units if baro == none 2022-08-14 00:45:13 -07:00
John Wyman
afd53af87b Increase padding on _print to fit baro 2022-08-14 00:34:17 -07:00
John Wyman
6b4a5bdaf3 move round() call to baro == None else clause 2022-08-14 00:27:09 -07:00
Xavier Olive
3e0d7ceec5
Merge pull request #131 from dforsi/fix/imports 2022-08-11 19:01:54 +02:00
Daniele Forsi
130491e641 Add missing import
Found with pylint.

Fixes:
pyModeS/streamer/decode.py:290:21: E0602: Undefined variable 'traceback' (undefined-variable)
2022-08-08 19:56:34 +02:00
Daniele Forsi
b4d4ef8f1f Fix description 2022-08-08 10:21:57 +02:00
Junzi Sun
bb8f83e832 fix RCv for position with GNSS height 2022-07-09 12:11:28 +02:00
Junzi Sun
b90932e51d add missing parameters for dumpto file 2022-07-09 10:09:41 +02:00
Xavier Olive
b36540e2a1
fix corner case 2022-05-31 09:55:07 +02:00
Xavier Olive
6e33ac0288 with mypy 2022-04-18 18:32:33 +02:00
Xavier Olive
65ce1a62c4 test ci and fix #125 2022-04-18 17:59:30 +02:00
Junzi Sun
ce5adbafe5
Update bds20.py 2022-04-18 11:27:53 +02:00
Flyer350
b52431ca51
Update bds20.py
#message with empty callsign can still be BDS2,0

Example messages:
a900189f20000000000000d0d739
a100000020000000000000a81785
2022-01-24 10:38:17 +01:00
Flyer350
0eb2d1f6a2
Update bds61.py
Fix the Mode A decoder. The ZERO is already part of  the binary data inside the message and does not need to be added.

See ED-102A, 2.2.3.2.7.8.1.2 b. Starting with ―ME‖ bit 12, the code sequence shall be C1, A1, C2, A2, C4, A4, ZERO, B1, D1, B2, D2, B4, D4.
2021-11-18 11:24:42 +01:00
Junzi Sun
26ef5d3ad9
Merge pull request #116 from dforsi/fix/typos
Fix typos in doc strings
2021-11-02 22:10:54 +01:00
Daniele Forsi
b90c2e740d Fix typos in print() strings 2021-10-09 23:17:31 +02:00
Daniele Forsi
e39baf38ed Fix typos 2021-10-09 22:50:28 +02:00
Junzi Sun
b9471d7fcb move functions to py_common 2021-10-09 00:02:33 +02:00
Junzi Sun
a350050e6e
Merge pull request #112 from maranov/bugfix/airborne_velocity_trk
Fix UnboundLocalError in airborne_velocity when velocity is zero
2021-07-07 22:47:51 +02:00
Junzi Sun
01574a9f01
Merge pull request #111 from maranov/bugfix/tcpclient_disconnect
Fix invalid socket disconnect call in TcpClient
2021-07-07 22:46:21 +02:00
Novak, Marek
a0a8c9b2f7 Fix UnboundLocalError in airborne_velocity when velocity is zero 2021-06-28 17:21:33 +02:00
maranov
0b2648bfe0 Fix invalid socket disconnect call in TcpClient
The testing main function now also stops the Client explicitly
2021-06-21 17:26:58 +02:00
Daniele Forsi
69ce39ab39 Fix typos 2021-05-09 14:28:46 +02:00
Junzi Sun
83e22892ba
Merge pull request #98 from TimA346/implement_tc29
Decoder for ADS-B TC=29 (target state and status message)
2021-03-12 18:07:19 +01:00
Junzi Sun
7434fc9ed3
Merge pull request #103 from amhirsch/spelling-magnetic
Fixed spelling of "magnetic_north" in docstring
2021-03-12 13:37:27 +01:00
Xander Hirsch
dd1fd596f8 Fixed spelling of "magnetic_north" in docstring 2021-03-07 23:27:08 -08:00
Flyer350
b9089d55d2
Update uplink.py 2021-02-24 15:28:59 +01:00