VirusPilot / stratux-pi4

Stratux Europe on a Pi3, Pi4, Pi5 or Pi Zero 2 W based on a fresh 64bit RasPiOS Image
20 stars 6 forks source link

Using fake-hwclock #22

Closed brownleeb closed 4 months ago

brownleeb commented 4 months ago

Would fixing the fake-hwclock config help with GPS satellite resolution? I was going to work on this, but not sure which branch would be best to put it in. Since it would be an operating system change, it would go in an image, or added to the install script. Although, if there is no benefit, probably not worth pursuing.

VirusPilot commented 4 months ago

I don't see how this would help - GPS accuracy is simply dependent on the number of GNSS and sats received.

brownleeb commented 4 months ago

Agreed. What I was aiming at was initial acquisition.
Some of the apps I have use AGPS for startup and I wasnt sure if current time fed into that and would help with that inital position lock. It wasnt really an issue, as much as wondering if it might help. My stratux starts up with time set at Jun 2023 using the fake hwclock service. Havent checked to see if it would help any to at a time a little closer to current.
For example, I might fire up my stratux at home and get a good time sync a couple hours before actually flying. I usually get a pretty fast lock, but since I usually use airplane power for my stratux, it takes a couple minutes after that to get an accurate location. But, like I said, not even sure if having a closer startup time would help anything...

VirusPilot commented 4 months ago

Correct. With latest u-blox GPS the initial fix with line of sight is less then 60s and after less then 10min you have received the complete almanac - one thing I tried is the following: https://github.com/VirusPilot/ublox-agps but this needs internet connection.