-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Pilot Heading #6425
Comments
While i understand what you want and think that this is very usefull thing - i don't think this is doable in INAV, at least for now.
I think #1 and #3 can be done with some FC which has mag (old NAZE32, spracingf3 -both have no integrated OSD - i don't know any up-to-date FC with mag onboard and OSD) onboard, then only telemetry and code remains (and if 3D orientation code can be taken from current INAV - then drawing arrow is relatively simple). |
Thanks for the reply! As i said, implementation is quite over my head, but the thought was there and iwas hoping to hear exactly your reply. Gives me some keythings to look into and learn. As for the few things i did understand, From what I've built, and have learned, most of my boards have osd built in (not sure why you'd need a second one as you suggested, but curious) and the recommended matek f405 wing also has an integrated compass (also not sure why you'd need that on drone side as well) and adding a gps+compass is easy enough (BN-880 for example) My basic thought would be that given the fight controller (inav) already has the home point coordinates and can draw it onscreen relative to drone, as well as drones heading (given drone has compass and/or gps- as wings don't need compass for inav to calculate heading.) Assuming the internal fatshark head tracker was good enough (I've used it on a few of my drones and haven't found drift an issue), making a channel from that and getting it to fc is trivial. As for needing telemetry from ground station, not sure why you would need that either, though most people, myself included, flying long range or use a gps definitely have and use a telemetry down-link. |
also another note, i wouldn't think another arrow would be drawn, it would be better(though idk about easier) to just "rotate" the map. |
Oh, so your idea is to send "ground heading" using spare RC channel to craft and display that as arrow? |
Yup! Exactly! I don't have a ground station (yet!😄) and no other params needed really... K.I.S.S method! I'm not interested in my elevation and I'm definitely not moving far after goggles go on. |
At present in 2.6, it has |
Thanks for the tip on "azimuth" but your idea sounds an awfully like "just remembering what direction you're facing" which is helpful for sure, and obviously something you should never forget when flying, just isn't QUITE what I'm trying to get at. |
Very interesting implementation idea. Now bigger problem - need to calculate angle from between home heading and airplane position. This is not so hard and will try to do, but displaying numeric stuff on OSD is beyond my skills at this moment. |
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. |
For this to work, you would need a compass on your transmitter and/or goggles. Then send that to iNav, probably via an RC channel. Without the compass, there’s no real way of knowing which way you’re facing. The head tracker wouldn’t really be a good solution, as they can drift. |
Current Behavior
Currently inav only has ability to place HomePoint and aircraft heading on osd display.
Desired behavior
Having the aircraft heading and "direction to home" arrow on the osd is a necessary for any long range flight. Flying my DJI, i also find it very handy having the direction I'm facing (the pilot) onscreen as well, allowing you to position yourself for optimal reception..ie goggles and transmitter.
Was thinking how inav might be able to accomplish the same thing.
Suggested Solution
Using a headtracker (I'm using the internal fatshark module) you should be able to use the gyroscope to track your position by feeding the correct axis through on a channel to your fc. If only using the internal module, it lacks a compass, so auto aligning is out (and tbh idk if the compass data is even output....far over my head) so a "heading set" mode would have to be created- just like headless mode and headajust.
Who does this impact? Who is this for?
Long range pilots or anyone using directional antennas
What do you think? Worth wild or just a waste of time? Im curious what others think of the idea, good or bad.
Happy flying!
The text was updated successfully, but these errors were encountered: