brickbots / PiFinder

A plate solving telescope finder based around a Raspberry PI and RPI HQ Camera
GNU General Public License v3.0
157 stars 30 forks source link

Look for time signal across all valid GPS packets #154

Closed brickbots closed 6 months ago

brickbots commented 7 months ago

Sometimes a TPV packet will contain a valid location, but not a valid time. Previous code was only examining the lowest error packet out of a group of validated packets and this one may not contain a valid time.

This change searches through all validated packets for one with a time value. This should make the PiFinder recognized a GPS lock sooner after the hardware is actually locked.