Open cbfraser opened 7 years ago
My testing needs 2 aircraft,, 3 people....
Cameron Fraser604 500 4682 -------- Original message --------From: d-c-d notifications@github.com Date: 2018-09-13 05:42 (GMT-08:00) To: cyoung/stratux stratux@noreply.github.com Cc: cbfraser cbf@cbfraser.ca, Mention mention@noreply.github.com Subject: Re: [cyoung/stratux] Feature request - Traffic audio alerts (#670) I'd like to help if I could.
I fly out of Paine Field in Washington - any other stratux developers that
need test flights?
David
On Wed, Sep 12, 2018 at 7:28 PM cbfraser notifications@github.com wrote:
Yes my code but cyoung did the heavy lifting putting in hooks that I used…
Its not about proximity – it is about potential path intersection
A nearby aircraft headed away is of no interest..
Simple linear geometry - with speed and direction known you can calculate
intersection point and arrival times of each aircraft at that point
and there are special cases for head on collision , overtaking and
overtaken.
I can post code when we get some testing done –
the key package to use mpmath for trig stuff and sympy for solving linear
equations (amazing package)
I can post the key bit if you like – the bulk of it is just lots of
filtering and scenario checking….
I also used plotly and did plots of intersection for my bench testing
regards
Cameron Fraser
+1 604 500 4682
From: cobraPA [mailto:notifications@github.com]
Sent: Wednesday, September 12, 2018 7:01 PM
To: cyoung/stratux
Cc: cbfraser; Mention
Subject: Re: [cyoung/stratux] Feature request - Traffic audio alerts (#670)
I'm working on an image for my own use, I may be able to post something
you could use as well.
Another question, I'm curious about your traffic algorithm. I'd like to
test traffic notices on a local OLED display. Is it all your own custom
code? How are you doing the proximity detection?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <
https://github.com/cyoung/stratux/issues/670#issuecomment-420857582> , or
mute the thread <
. <
https://github.com/notifications/beacon/AEQrcPxph0kGHNI6FCJEwT5JH9TdoK5hks5uabxcgaJpZM4P3NGU.gif>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/cyoung/stratux/issues/670#issuecomment-420862108, or mute
the thread
.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread. {"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/cyoung/stratux","title":"cyoung/stratux","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/cyoung/stratux"}},"updates":{"snippets":[{"icon":"PERSON","message":"@d-c-d in #670: I'd like to help if I could.\n\nI fly out of Paine Field in Washington - any other stratux developers that\nneed test flights?\n\nDavid\n\nOn Wed, Sep 12, 2018 at 7:28 PM cbfraser \u003cnotifications@github.com\u003e wrote:\n\n\u003e Yes my code but cyoung did the heavy lifting putting in hooks that I used…\n\u003e\n\u003e\n\u003e\n\u003e\n\u003e\n\u003e Its not about proximity – it is about potential path intersection\n\u003e\n\u003e\n\u003e\n\u003e A nearby aircraft headed away is of no interest..\n\u003e\n\u003e\n\u003e\n\u003e\n\u003e\n\u003e Simple linear geometry - with speed and direction known you can calculate\n\u003e intersection point and arrival times of each aircraft at that point\n\u003e\n\u003e\n\u003e\n\u003e and there are special cases for head on collision , overtaking and\n\u003e overtaken.\n\u003e\n\u003e\n\u003e\n\u003e I can post code when we get some testing done –\n\u003e\n\u003e the key package to use mpmath for trig stuff and sympy for solving linear\n\u003e equations (amazing package)\n\u003e\n\u003e I can post the key bit if you like – the bulk of it is just lots of\n\u003e filtering and scenario checking….\n\u003e\n\u003e\n\u003e\n\u003e\n\u003e\n\u003e I also used plotly and did plots of intersection for my bench testing\n\u003e\n\u003e\n\u003e\n\u003e regards\n\u003e\n\u003e\n\u003e\n\u003e Cameron Fraser\n\u003e\n\u003e +1 604 500 4682\n\u003e\n\u003e\n\u003e\n\u003e From: cobraPA [mailto:notifications@github.com]\n\u003e Sent: Wednesday, September 12, 2018 7:01 PM\n\u003e To: cyoung/stratux\n\u003e Cc: cbfraser; Mention\n\u003e Subject: Re: [cyoung/stratux] Feature request - Traffic audio alerts (#670)\n\u003e\n\u003e\n\u003e\n\u003e I'm working on an image for my own use, I may be able to post something\n\u003e you could use as well.\n\u003e\n\u003e Another question, I'm curious about your traffic algorithm. I'd like to\n\u003e test traffic notices on a local OLED display. Is it all your own custom\n\u003e code? How are you doing the proximity detection?\n\u003e\n\u003e —\n\u003e You are receiving this because you were mentioned.\n\u003e Reply to this email directly, view it on GitHub \u003c\n\u003e https://github.com/cyoung/stratux/issues/670#issuecomment-420857582\u003e , or\n\u003e mute the thread \u003c\n\u003e https://github.com/notifications/unsubscribe-auth/AEQrcB0wHMTFWoxoUQsswdLQAdL_HnyCks5uabxcgaJpZM4P3NGU\u003e\n\u003e . \u003c\n\u003e https://github.com/notifications/beacon/AEQrcPxph0kGHNI6FCJEwT5JH9TdoK5hks5uabxcgaJpZM4P3NGU.gif\u003e\n\u003e\n\u003e\n\u003e —\n\u003e You are receiving this because you are subscribed to this thread.\n\u003e Reply to this email directly, view it on GitHub\n\u003e \u003chttps://github.com/cyoung/stratux/issues/670#issuecomment-420862108\u003e, or mute\n\u003e the thread\n\u003e \u003chttps://github.com/notifications/unsubscribe-auth/AOxOe17TfAku_IyPwsRsG9COY55eFjycks5uacKxgaJpZM4P3NGU\u003e\n\u003e .\n\u003e\n"}],"action":{"name":"View Issue","url":"https://github.com/cyoung/stratux/issues/670#issuecomment-420992547"}}} [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/cyoung/stratux/issues/670#issuecomment-420992547", "url": "https://github.com/cyoung/stratux/issues/670#issuecomment-420992547", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } }, { "@type": "MessageCard", "@context": "http://schema.org/extensions", "hideOriginalBody": "false", "originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB", "title": "Re: [cyoung/stratux] Feature request - Traffic audio alerts (#670)", "sections": [ { "text": "", "activityTitle": "d-c-d", "activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png", "activitySubtitle": "@d-c-d", "facts": [
] } ], "potentialAction": [ { "name": "Add a comment", "@type": "ActionCard", "inputs": [ { "isMultiLine": true, "@type": "TextInput", "id": "IssueComment", "isRequired": false } ], "actions": [ { "name": "Comment", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"cyoung/stratux\",\n\"issueId\": 670,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}" } ] }, { "name": "Close issue", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"cyoung/stratux\",\n\"issueId\": 670\n}" }, { "targets": [ { "os": "default", "uri": "https://github.com/cyoung/stratux/issues/670#issuecomment-420992547" } ], "@type": "OpenUri", "name": "View on GitHub" }, { "name": "Unsubscribe", "@type": "HttpPOST", "target": "https://api.github.com", "body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 266129812\n}" } ], "themeColor": "26292E" } ]
Where are you guys on this. I am in south florida and have an ads-b out aircraft, and could round up the others needed for test flights.
I've revived this because I'm planning on upgrading my aircraft to ADSB and there is enough ADSB traffic near by to do bench testing. If anyone interested in flight testing I can post current code. Not packaged so need to be technical enough to flash, ,ssh etc.
Is there any need to change hardware, or do I plug stratux into aux input for my intercom? If simply updating flash, I will be willing to flight test. I do not want alerts at 6NM however. Is a filter implemented, and adjustable.
On Wed, Jan 27, 2021 at 1:40 PM cbfraser notifications@github.com wrote:
I've revived this because I'm planning on upgrading my aircraft to ADSB and there is enough ADSB traffic near by to do bench testing. If anyone interested in flight testing I can post current code. Not packaged so need to be technical enough to flash, ,ssh etc.
[image: Capture] https://user-images.githubusercontent.com/4467568/106037770-f4e06780-608b-11eb-842e-d4a600fc0cbc.JPG
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cyoung/stratux/issues/670#issuecomment-768490865, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHAT66GOCLI55FMPMBZR2LLS4BM25ANCNFSM4D642GKA .
no h/w change – I’m using audio port although if someone could configure
Bluetooth that would be nice.
It is more involved that just flashing an image but yes configurable
for distance, vertical separation and collision….
With some more testing I may create a complete image.
Audio Alerts:
Audio alerts is set of python scripts that runs on the Stratux build and reads all the traffic messages on the websocket interface and generates audio traffic and collision alerts.
It was made possible by Chris providing a python hook to his Stratux build.
Requirements:
As well as Stratux - mpmath, sympy, websocket, backports, espeak and/or omxplayer
Operation:
Audio alerts initially filters traffic messages based on target's altitude, distance, ground status and ship's GPS status.
After that it tracks that traffic and optionally filters on whether traffic is getting closer and optionally calcuates potential collision.
Audio is paced at a system output rate and a rate for a target.
Traffic alerts are of the form "Traffic 12 oh clock high 6 miles"
Collision alerts are filtered by near miss time window but disregards relative altitudes. It will predict ship & target crossing headon or from behind or at an intersection.
Collision alerts are of the form "Headon in 1 minute", "Passing in 1 minute", "Overtaking 1 minute", "Contact in 1 minute"
Audio is either espeak rather robotic but complete or omxplayer which uses prerecorded voice. This sounds better but is limited to 20 miles and 12 minutes. It does allow for other languages.
A simple webpage displays current traffic and stats. 192.168.10.1/audio.html
Bluetooth not supported - hopefully someone will document setup.
Defects & suggestions c@cbfraser.ca
Cameron Fraser
+1 604 500 4682
From: John Schreiber notifications@github.com Sent: Wednesday, January 27, 2021 12:24 PM To: cyoung/stratux stratux@noreply.github.com Cc: cbfraser cbf@cbfraser.ca; Mention mention@noreply.github.com Subject: Re: [cyoung/stratux] Feature request - Traffic audio alerts (#670)
Is there any need to change hardware, or do I plug stratux into aux input for my intercom? If simply updating flash, I will be willing to flight test. I do not want alerts at 6NM however. Is a filter implemented, and adjustable.
On Wed, Jan 27, 2021 at 1:40 PM cbfraser <notifications@github.com mailto:notifications@github.com > wrote:
I've revived this because I'm planning on upgrading my aircraft to ADSB and there is enough ADSB traffic near by to do bench testing. If anyone interested in flight testing I can post current code. Not packaged so need to be technical enough to flash, ,ssh etc.
[image: Capture] https://user-images.githubusercontent.com/4467568/106037770-f4e06780-608b-11eb-842e-d4a600fc0cbc.JPG
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cyoung/stratux/issues/670#issuecomment-768490865, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHAT66GOCLI55FMPMBZR2LLS4BM25ANCNFSM4D642GKA .
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cyoung/stratux/issues/670#issuecomment-768553487 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABCCW4EG7CS4R374BFTWIYDS4BY5ZANCNFSM4D642GKA . https://github.com/notifications/beacon/ABCCW4C5EXHN36ONJJCVMWLS4BY5ZA5CNFSM4D642GKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFXHTEDY.gif
sounds great. too many items to watch these days.
On Wed, Jan 27, 2021 at 4:04 PM cbfraser notifications@github.com wrote:
no h/w change – I’m using audio port although if someone could configure
Bluetooth that would be nice.
It is more involved that just flashing an image but yes configurable
for distance, vertical separation and collision….
With some more testing I may create a complete image.
Audio Alerts:
Audio alerts is set of python scripts that runs on the Stratux build and reads all the traffic messages on the websocket interface and generates audio traffic and collision alerts.
It was made possible by Chris providing a python hook to his Stratux build.
Requirements:
As well as Stratux - mpmath, sympy, websocket, backports, espeak and/or omxplayer
Operation:
Audio alerts initially filters traffic messages based on target's altitude, distance, ground status and ship's GPS status.
After that it tracks that traffic and optionally filters on whether traffic is getting closer and optionally calcuates potential collision.
Audio is paced at a system output rate and a rate for a target.
Traffic alerts are of the form "Traffic 12 oh clock high 6 miles"
Collision alerts are filtered by near miss time window but disregards relative altitudes. It will predict ship & target crossing headon or from behind or at an intersection.
Collision alerts are of the form "Headon in 1 minute", "Passing in 1 minute", "Overtaking 1 minute", "Contact in 1 minute"
Audio is either espeak rather robotic but complete or omxplayer which uses prerecorded voice. This sounds better but is limited to 20 miles and 12 minutes. It does allow for other languages.
A simple webpage displays current traffic and stats. 192.168.10.1/audio.html
Bluetooth not supported - hopefully someone will document setup.
Defects & suggestions c@cbfraser.ca
Cameron Fraser
+1 604 500 4682
From: John Schreiber notifications@github.com Sent: Wednesday, January 27, 2021 12:24 PM To: cyoung/stratux stratux@noreply.github.com Cc: cbfraser cbf@cbfraser.ca; Mention mention@noreply.github.com Subject: Re: [cyoung/stratux] Feature request - Traffic audio alerts (#670)
Is there any need to change hardware, or do I plug stratux into aux input for my intercom? If simply updating flash, I will be willing to flight test. I do not want alerts at 6NM however. Is a filter implemented, and adjustable.
On Wed, Jan 27, 2021 at 1:40 PM cbfraser <notifications@github.com mailto:notifications@github.com > wrote:
I've revived this because I'm planning on upgrading my aircraft to ADSB and there is enough ADSB traffic near by to do bench testing. If anyone interested in flight testing I can post current code. Not packaged so need to be technical enough to flash, ,ssh etc.
[image: Capture] < https://user-images.githubusercontent.com/4467568/106037770-f4e06780-608b-11eb-842e-d4a600fc0cbc.JPG
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cyoung/stratux/issues/670#issuecomment-768490865, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AHAT66GOCLI55FMPMBZR2LLS4BM25ANCNFSM4D642GKA
.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub < https://github.com/cyoung/stratux/issues/670#issuecomment-768553487> , or unsubscribe < https://github.com/notifications/unsubscribe-auth/ABCCW4EG7CS4R374BFTWIYDS4BY5ZANCNFSM4D642GKA> . < https://github.com/notifications/beacon/ABCCW4C5EXHN36ONJJCVMWLS4BY5ZA5CNFSM4D642GKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFXHTEDY.gif>
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/cyoung/stratux/issues/670#issuecomment-768575846, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHAT66B52BVDVLTVAN4QPB3S4B5UFANCNFSM4D642GKA .
Here is an image that starts audio alerts on boot. Burn image and connect to audio jack. Configure by editing audio_alerts.txt and use winscp(windows) or andFTP(android) to copy that file from/to theStratux. Zip file is an image from 16GB SD card. https://drive.google.com/drive/folders/1g9YYz7hIjP7-5d-PSo6aqaohBuIIs3Ur?usp=sharing audio_alerts.txt overview.txt
For anyone intestested in testing with a 2nd aircraft that has ADSB out I have a suggested test plan.
Generate configurable audio alerts based on traffic -distance, altitude, etc