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

Mono #14

Merged
merged 31 commits into from
Apr 19, 2021
Merged

Mono #14

Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
changes
  • Loading branch information
luke-iqt committed Mar 22, 2021
commit 16e3493b50c69f9e9ddd082b84c9555f11ca8ee4
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:

tracker:
build: ./tracker
entrypoint: "./flighttracker.py -m mqtt -l ${LAT} -L ${LONG} -a ${ALT} -P skyscan/planes/json -T skyscan/flight/json -M ${MIN_ELEVATION} -c ${CAMERA_LEAD}"
entrypoint: "./flighttracker.py -m mqtt -H piaware -l ${LAT} -L ${LONG} -a ${ALT} -P skyscan/planes/json -T skyscan/flight/json -M ${MIN_ELEVATION} -c ${CAMERA_LEAD}"
volumes:
- ./data:/app/data
depends_on:
Expand Down
1 change: 0 additions & 1 deletion tracker/flighttracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,6 @@ def run(self):
print("connected mqtt")
self.__client.loop_start() #start the loop
print("start MQTT")
self.__client.subscribe(self.__plane_topic)
self.__client.subscribe("skyscan/egi")
self.__client.subscribe(config_topic)
self.__client.publish("skyscan/registration", "skyscan-tracker-"+ID+" Registration", 0, False)
Expand Down