headfree mode based on GPS home direction?
The way headfree mode is currently working is that it uses the the takeoff heading (set when arming) as the head direction for the controls. This works ok if you always keep the craft in front of you and arm it while facing away from you.
Ardupilot and MuliWii have an advanced version of this mode, where it uses a head direction relative to the home direction, once you pass a certain distance from home (ADV_HEADFREE_RANGE in multiWii)
The way this works in MultiWii is to set headfreemodehold to GPS_directionToHome + 180 every loop, if the distance to home is greater than adv_headfree_range, and if headfree mode is active. setting adv_headfree_range to 0 will disable the feature. This could be added to the existing headfree code, and we only need one extra cli variable.
I would like to hear some thoughts on this.
This would be nice. While flying in FPV i have no use for headfree, however a Home-bound version would be useful for those cases where you wish to go back home without heading straight to it.
And isn't it just better to engage Return-To-Home ?
czw., 15.09.2016 o 11:46 użytkownik rb1205 [email protected] napisał:
This would be nice. While flying in FPV i have no use for headfree, however a Home-bound version would be useful for those cases where you wish to go back home without heading straight to it.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/iNavFlight/inav/issues/603#issuecomment-247284218, or mute the thread https://github.com/notifications/unsubscribe-auth/AA7Amz_0dkdngPzQJhN2kbUZHRRnNIDhks5qqRPsgaJpZM4J73Hr .
Pozdrawiam, Paweł Spychalski
I think this feature could be useful not only for emergency. It is similar to DJI "Home Lock", where pitch moves the aircraft further/closer and roll circles around the home point without changing distance. Extending this with the possibility to set the center point (in flight) would allow to fly smooth circles around some object being filmed. It's hardly achievable with today's modes with and without head lock.
I don't think this would be difficult to implement.
@krzysztofmatula @martinbudden I was thinking about it and looks like all has to be done, is to always set heading to home. With CRUISE mode that should more less give circling pattern.
This issue / pull request has been automatically marked as stale because it has not had any activity in 60 days. The resources of the INAV team are limited, and so we are asking for your help. This issue / pull request will be closed if no further activity occurs within two weeks.
Automatically closing as inactive.