- Define the threshold: You first need to define what threshold you consider as "high." Define the maximum value of ADS-B readings you deem acceptable.
- Extract the ADS-B readings: You can extract and analyze the ADS-B readings. You can use "readMessage" and "parseMessage" functions to extract the data from the received ADS-B messages.
- Determine the time period for which readings remain high: Identify the time duration for which the ADS-B readings remain above the threshold. You can use the "diff" function to calculate the difference between consecutive samples in the ADS-B readings.
- Send alerts when readings are high: Once your code identifies that the ADS-B readings exceed the threshold, you can generate an alert to notify the user. MATLAB has built-in functions to send email, text, or push notification alerts to a user. You can use these functions to send alerts to yourself to inform you when ADS-B readings exceed the threshold.
- Store the data on alerts: You can store that the ADS-B readings went beyond threshold in a binary table with 1 indicating that the threshold was exceeded at that time stamp. You could use MATLAB's "duration" function to capture precisely when events occur and how long they last.
How to get an alert every time every time my ads-b OSPA readings goes beyond threshold?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
I am refering Simulate and Track En-Route Aircraft in Earth-Centered Scenarios and want to know how can I get an alert when my ADS-B OSPA readings go above certain threshold.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1252532/image.png)
I want to build an alert table that gives me information on the duration. (For how long ADS-B readings were at the highest, exactly when the ADS-B readings was high and at what point in time it's readings dropped) Please let me know how to extract such information.
Thank you.
0 Kommentare
Antworten (1)
Kartik
am 15 Mai 2023
Hi,
To get alerts when the ADS-B OSPA readings go above a threshold, you can use condition monitoring techniques. Here are the steps you could follow to implement this:
To summarize, read the ADS-B message, compare it to the threshold value, store alerts with timestamps, durations, then send an alert/notification when a threshold is breached.
Here is the link to the MathWorks documentation that supports the use of "readMessage" and "parseMessage" functions for extracting ADS-B data in MATLAB: https://www.mathworks.com/help/aeroblks/read-ads-b-messages-from-data-source.html
Additionally, the documentation on duration function in MATLAB can be found here: https://www.mathworks.com/help/matlab/ref/duration.html.
0 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!