Skip to content
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

gps frequency on different gopro models #42

Open
stejadao opened this issue Jun 1, 2023 · 0 comments
Open

gps frequency on different gopro models #42

stejadao opened this issue Jun 1, 2023 · 0 comments

Comments

@stejadao
Copy link

stejadao commented Jun 1, 2023

For some reason the gopro hero 10 black has a frequency of 10hz and takes a GPSU time every 10 points. I don't know how it is in the others camera models.

I fixed the bug by taking only the first GPSU time, changing t_delta = 1/10.0 and setting p equal to:

p = gpshelper.GPSPoint(gpsdata.lat, gpsdata.lon, gpsdata.alt, GPSU + datetime.timedelta(milliseconds=len(points) * t_delta * 1000), gpsdata.speed)

This solves my problem, but it may be different in other models, I don't know if there is a way to read the frequency from the metadata or even if it is possible to directly read the timestamp of each gps point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant