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

Lidar/Rangefinder used ONLY for VTOL takeoff and VTOL landing in Quadplane #29095

Open
Gromitvt10 opened this issue Jan 17, 2025 · 3 comments
Open

Comments

@Gromitvt10
Copy link

Feature request

Is your feature request related to a problem? Please describe.
_When flying my quadplane with Lidar installed i enable rangefinder for automatic landing. The rangefinder will be used both on the landing approach and for final flare. But, if the lidar, for any reason shows a low reading, it will trigger the alt_assist even when not on approach or landing. This in turn initiates the VTOL motors to start and creates a lot of drag.
The problem is this aircraft can fly for 8 hours, what if it was flying miles away and the lidar randomly starting doing this, false low readings. It will constantly be turning the VTOL motors on and off and would eventually drain its battery. We can fix or replace this particular lidar unit, but that doesn't mean the new one won't eventually do the same thing. This issue surfaced only after many flights on the aircraft, who's to say it won't happen again with a new lidar unit after many flights.

Describe the solution you'd like
_We currently set the Alt_assist to zero, but that turns it off completely. I would like a way to use the lidar only for VTOL takeoff (transition height-use until transition is complete) and landing measurements (over landing spot all the way until touch down). I would like to use Baro for Alt-assist. I don't need the lidar when i'm flying at 1000ft, especially when it can only read up 300ft. A setting or flag that lets you chose to "use lidar only for takeoff and landing" would be great. If not checked then it uses lidar for everything, when checked it uses Baro for Alt_assist.

Describe alternatives you've considered
I have considered not using lidar at all, but then why even have it. Discussed changing the unit or changing unit parameters, this may fix this particular instance but won't fix the overall issue of Ardupilot engaging Alt assist for false readings.

Platform
[ ] All
[ ] AntennaTracker
[ ] Copter
[ X ] Plane
[ ] Rover
[ ] Submarine

Additional context
This issue has been brought up and discussed in my partner chat

@IamPete1
Copy link
Member

We do have a Q_OPTION for airspeed assist:
"Disable speed based Qassist when using synthethic airspeed estimates".

So it would make sense to add this in a similar way. However, I think we have run out of bits.....

@timtuxworth
Copy link
Contributor

We do have a Q_OPTION for airspeed assist: "Disable speed based Qassist when using synthethic airspeed estimates".

So it would make sense to add this in a similar way. However, I think we have run out of bits.....

"You always need more!"

@tridge
Copy link
Contributor

tridge commented Jan 27, 2025

@Gromitvt10 I think we can do two things:

  • change the parameter RNGFND_LANDING from a 0/1 value to 0/1/2, where value 2 means to use only for landing and not for Q_ASSIST_ALT
  • possibly add a parameter for the maximum discrepancy between rangefinder and terrain altitude from terrain database that we will use the rangefinder. This would apply to landing as well (it could prevent a very early slow down in descent for VTOL landing). I'm thinking users would set it to 50m or so.

Discussed on dev call, and @rmackay9 thinks we don't want this in copter at this stage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

6 participants