ardupilot icon indicating copy to clipboard operation
ardupilot copied to clipboard

A Lua Script to provide callouts when near or over 400 feet

Open timtuxworth opened this issue 2 years ago • 2 comments

So many countries have a limit of 400 feet when flying RPAS/UAV (rc planes). This script provides groundstation messages which can be "called out" by QGroundControll, Mission Planner. etc. to advise the pilot what their current altitude is, warn them when approaching 400 feet (or any other set limit) and call out when they have exceeded thee limit.

This may not be required on an OpenTX/EdgeTX radio with something like Crossfire/Express LRS as the radio can be configured to do callouts and Yaapu telemetry has a max altitude alert, but EdgeTX won't provide ongoing altitude updates the way this script can do.

timtuxworth avatar Mar 30 '23 15:03 timtuxworth

.... the GCS could also do the same warnings - I mean, if EdgeTX can do it, I'm sure MissionPlanner and QGC could be modified to do so... without the use of extra badwidth, and in a way which isn't as susceuptible to problems caused by packet loss.

I don't think this is a sensible thing for an autopilot to be doing, but it is a script, sooo...

Did you really want to push this one, @timtuxworth ?

peterbarker avatar Sep 11 '24 12:09 peterbarker

.... the GCS could also do the same warnings - I mean, if EdgeTX can do it, I'm sure MissionPlanner and QGC could be modified to do so... without the use of extra badwidth, and in a way which isn't as susceuptible to problems caused by packet loss.

Bandwidth? In normal flight it sends a message once every 25 seconds.

I don't think this is a sensible thing for an autopilot to be doing, but it is a script, sooo...

Did you really want to push this one, @timtuxworth ?

It's a script so ... it's an option for people who want it. I use it myself all the time. I've tried the EdgeTX feature and it doesn't do all this does.

If you are willing to accept it, I can update/rebase it, If you don't want it, I have it on my own repo and I could leave it there if anyone wants it.

timtuxworth avatar Sep 11 '24 14:09 timtuxworth

.... the GCS could also do the same warnings - I mean, if EdgeTX can do it, I'm sure MissionPlanner and QGC could be modified to do so... without the use of extra badwidth, and in a way which isn't as susceuptible to problems caused by packet loss.

Bandwidth? In normal flight it sends a message once every 25 seconds.

I don't think this is a sensible thing for an autopilot to be doing, but it is a script, sooo... Did you really want to push this one, @timtuxworth ?

It's a script so ... it's an option for people who want it. I use it myself all the time. I've tried the EdgeTX feature and it doesn't do all this does.

If you are willing to accept it, I can update/rebase it, If you don't want it, I have it on my own repo and I could leave it there if anyone wants it.

If you rebase it I'll merge it :-)

peterbarker avatar Sep 25 '24 12:09 peterbarker

Closing replaced by #28426

timtuxworth avatar Oct 17 '24 19:10 timtuxworth