Fixed error when receiving NICv1 in example decoder due to mismatch in output #180
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Currently the current definition of the
pms.adsb.nic_v1
is as follows:src/pyModeS/decoder/adsb.py
which returns NIC, Rc, and VPL. However, the example decoder is set for the case of NICv1 as:
src/pyModeS/streamer/decode.py
to receive only
Rc
andVPL
. Due to this mismatch in output, the example decoder crashed on the case ofNICv1
. Since it is the example decoder, this seems not to be a critical issue. But, just to make it right, I write this PR.Thank you in advance for your review, and please check this PR whenever available. Thank you.