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

Investigate how to send waypoints from opencpn #2

Open
kragniz opened this issue May 31, 2017 · 3 comments
Open

Investigate how to send waypoints from opencpn #2

kragniz opened this issue May 31, 2017 · 3 comments

Comments

@kragniz
Copy link
Member

kragniz commented May 31, 2017

There's a nmea standard for sending waypoints which opencpn appears to implement, figure out how to read them from opencpn.

@jack-webb
Copy link
Contributor

(Alt account, lost my 2FA keys and in the process of retrieving them)

https://github.com/Knio/pynmea2 looks to be the easiest way of getting the NMEA sentences in a nice format. I'm not sure how far we want (or need) to go using NMEA sentencing, so we could just use the WPL code rather than the whole thing.

That leaves the issues of getting the sentences from openCPN and converting from NMEA to latlong. The latter is pretty trivial and I guess you might have an idea of the former?

Let me know what you think and what else needs doing and I'll go away and write something.

@kragniz
Copy link
Member Author

kragniz commented Jun 1, 2017

Parsing the data out on the nmea strings will be pretty easy once we've got them, the harder bit appears to be getting them out of opencpn. If you create a route, there's the option to send directly to a gps device:

https://opencpn.org/wiki/dokuwiki/doku.php?id=opencpn:opencpn_user_manual:connections#sending_routes_and_waypoints_to_a_gps

but it seems like that only works with a serial device? Find out if there's any way of sending that information over a network instead

@kragniz
Copy link
Member Author

kragniz commented Jun 1, 2017

As an uglier fallback it allows exporting as KML, so we could use that instead

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

No branches or pull requests

2 participants