-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
New Feature Request:
Did not find such a request through search so I'll open one.
What about an Auto RTH function for bigger camera quadcopter or planes?
You could take the configured default cruise speed and home distance to calculate the estimated time to get back to home point. With the battery capacity remaining (measured by making a 10s average of battery voltage) and battery usage during the flight, you could estimate the flight time left. If remaining flight time is close to the return time in cruise speed, you could then give an OSD warning when going too far away to return or even trigger automatic RTH.
Calculation example for my Camera quadcopter:
5000mAh and flight time 20min.
flying a mission and the copter is far away
looses about 0.1V every 2min (per cell)
cruise speed is 5m/s or 18km/h
if the copter is 500m away, it should trigger a warning at 3.5V and auto RTH at 3.4V to land at home point before reaching 3.3V per cell
if the copter is 1000m away the warning and RTH should trigger at 3.6 and 3.5V and so on.
You could also implement this together with wind speed estimation #2450 to compensate the additional power drain when flying against the wind.