Skip to content

Commit

Permalink
changed default attitude to unknown
Browse files Browse the repository at this point in the history
  • Loading branch information
ampledata committed May 21, 2021
1 parent 4e47c41 commit 116ce8a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,8 @@ lint:

pylint: lint

# test: lint pep8 nosetests
checkmetadata:
python setup.py check -s --restructuredtext

mypy:
mypy --strict .
Expand Down
3 changes: 0 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,6 @@ Install from this source tree::
$ python setup.py install





Source
======
Github: https://github.com/ampledata/aircot
Expand Down
2 changes: 1 addition & 1 deletion aircot/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def adsb_to_cot_type(icao: typing.Union[str, int], category: typing.Union[str, N
ADS-B DO-260B or GDL90 Emitter Category & Flight ID.
"""
affil = "C" # Affiliation, default = Civilian
attitude = "." # Attitude
attitude = "u" # Attitude

# TODO: If the adsbx has a leading underscore and registry "_N1234A" then that means they are calculating the
# registration with no Flight ID field transmited
Expand Down

0 comments on commit 116ce8a

Please sign in to comment.