Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merging in Dev branch #2

Merged
merged 74 commits into from
Jan 11, 2021
Merged

merging in Dev branch #2

merged 74 commits into from
Jan 11, 2021

Conversation

luke-iqt
Copy link
Contributor

Adds support for the Axis network PTZ camera

All ADSB message get translated into MQTT
tracker_1    | Exception in thread Thread-2:
tracker_1    | Traceback (most recent call last):
tracker_1    |   File "/usr/local/lib/python3.9/threading.py", line 954, in _bootstrap_inner
tracker_1    |     self.run()
tracker_1    |   File "/usr/local/lib/python3.9/threading.py", line 892, in run
tracker_1    |     self._target(*self._args, **self._kwargs)
tracker_1    |   File "/app/./flighttracker.py", line 349, in __publish_thread
tracker_1    |     elevation = utils.elevation(distance * 3.28084, cur.getAltitude(), camera_altitude) # we need to convert to feet because the altitude is in feet
tracker_1    |   File "/app/utils.py", line 20, in elevation
tracker_1    |     ratio = ( altitude - baseElevation) / distance
tracker_1    | ZeroDivisionError: float division by zero
changing the amount the camera is led by
slightly longer delay after moving the camera - might reduce any bouncing from the camera movement.
@luke-iqt luke-iqt merged commit 76d21b9 into main Jan 11, 2021
@luke-iqt luke-iqt deleted the dev branch January 11, 2021 20:55
@luke-iqt luke-iqt restored the dev branch January 22, 2021 21:02
jspeed-meyers pushed a commit that referenced this pull request Nov 15, 2021
merging in Dev branch

Former-commit-id: 76d21b9
jspeed-meyers pushed a commit that referenced this pull request Nov 15, 2021
merging in Dev branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant