-
Notifications
You must be signed in to change notification settings - Fork 220
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
calculating distance #153
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I'm quite new to the Neo 6M GPS module and this library, but in my project I want to get an action, after calculating the distance (in m) from two different positions. Normally to get the latitude and longitude it would be something like that:
if newdata[0:6] == "$GPRMC":
module_data = pynmea2.parse(newdata)
lat=module_data.latitude
lng=module_data.longitude
So how to keep one point and measure a second one for subtract them to the distance in meters?
Thanks
The text was updated successfully, but these errors were encountered: