kylecorry31 / Trail-Sense

An Android app that uses your phone's sensors to assist with wilderness treks or survival situations.
https://kylecorry.com/Trail-Sense/
MIT License
1.07k stars 70 forks source link

[Research] Solar compass #1683

Open kylecorry31 opened 1 year ago

kylecorry31 commented 1 year ago

Research using the sun as a compass if the magnetometer does not work.

I'll have to do more research on the practicality of this - the astronomy tool can display the direction of the sun or moon (click on the sun/moon icon on the chart), so I imagine this would be pretty similar. If the magnetometer isn't available, I would assume the gyroscope would also be unavailable or unreliable to use, but it's worth a test.

JensKorte commented 1 year ago

https://github.com/ligi/SurvivalManual/wiki/DirectionFinding (I guess the link is obvious ;) )

leavenode commented 1 year ago

There are other apps that do it, but it would be nice to integrate the functionality somehow.

leavenode commented 1 year ago

I see a new option to display the sun and moon on the compass in the most recent update. Good that :-)

Would it make sense to also have an option where you can rotate the compass dial manually?

My Moto E7 (inexplicably) has no compass sensor, but a couple of my older phones have them but they are twitchy and unreliable and they make the dial jump around. Would be nice to just bypass them completely.

leavenode commented 1 year ago

Ah, I see the compass smoothing option. Helps with the jitter, but not the general wonkiness.

kylecorry31 commented 1 year ago

Thanks, I'll consider adding that, though I think #521 will be more reliable than manually adjusting the compass

yurtpage commented 2 months ago

The F-Droid already have https://github.com/agnibho/solarcompass But the app wasn't updated for a while