ArduPilot / ardupilot

ArduPlane, ArduCopter, ArduRover, ArduSub source
http://ardupilot.org/
GNU General Public License v3.0
11.02k stars 17.57k forks source link

COPTER: Adding RTL to SMARTRTL #21866

Open muramura opened 2 years ago

muramura commented 2 years ago

Feature request

Is your feature request related to a problem? Please describe.

I made a random flight with SMARTRTL. I also flew near the takeoff point. I selected "SMARTRTL or RTL" for the battery fail action. The vehicle triggered the battery fail safe. This vehicle passed the takeoff point.

EX: smartrtlって」離陸ポイント付近と通っても着陸しない

Describe the solution you'd like

I want to land the vehicle when it approaches the takeoff point while in reverse.

Describe alternatives you've considered

I would put the RTL region at the takeoff point. If the vehicle enters the RTL area while in reverse in SMARTRTL, switch the flight mode to RTL. I think this change would cover flight trajectories that do not intersect.

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

Additional context

rmackay9 commented 2 years ago

I guess it didn't detect the loop because the altitude was different?

muramura commented 2 years ago

@rmackay9 san. I accept.