Comments (3)
Hi Andreas,
i'm using sometimes for personal purposing pynmea2 library (https://github.com/Knio/pynmea2)
For example:
#!/usr/bin/env python
import sys
import pynmea2
if len(sys.argv) < 2:
f=sys.stdin
else:
f = open(sys.argv[1])
for line in f:
if line.startswith("!"):
continue
elif line.startswith("$"):
msg = pynmea2.parse(line)
if type(msg) is pynmea2.types.talker.RMC:
print "RMC %s%s %s%s sog=%s cog=%s" % ( msg.lat,msg.lat_dir, msg.lon, msg.lon_dir, msg.spd_over_grnd, msg.true_course)
elif type(msg) is pynmea2.types.talker.GGA:
print "GPSFix at %s%s %s%s. Sat %s in use %d quality" % ( msg.lat,msg.lat_dir, msg.lon, msg.lon_dir, msg.num_sats, msg.gps_qual)
elif type(msg) is pynmea2.types.talker.GLL:
print "ValidStatusFix %s%s %s%s" % ( msg.lat,msg.lat_dir, msg.lon, msg.lon_dir)
elif type(msg) is pynmea2.types.talker.VTG:
print "SOG %f" % msg.spd_over_grnd_kts
elif type(msg) is pynmea2.types.talker.DBT:
print "Depth: %s" % msg.depth_meters
elif type(msg) is pynmea2.types.talker.MWV:
print "Wind: %s %s %s%s" % ( msg.reference, msg.wind_angle, msg.wind_speed, msg.wind_speed_units)
Would that way be helpful?
from avnav.
Looks promising. Thanks, I will try it out. Would like to go away from gpsd anyway...
from avnav.
With 20191223 the infrastrcuture is there. The plugin interface provides the functions. Documentation is still ongoing.
from avnav.
Related Issues (20)
- Key bindings to buttons do not work if the buttons are hidden HOT 1
- navigation signalk to nmea2000 HOT 5
- Trademark Violation HOT 9
- Start in split screen HOT 3
- Chart groups and scale HOT 3
- Sub directories in charts HOT 3
- Ensure compatibility of exported track gpx files with google maps HOT 1
- I would like to invite you to this discussion HOT 1
- Log file filling all the memory again HOT 8
- display navigation page with last active chart on page reload HOT 1
- Formatting valuebox user Widget gauge HOT 6
- settime cmd sometimes hangs HOT 1
- Re-arange buttons/icons on the right side? HOT 1
- Running in Docker? HOT 8
- Raspberry: wifi client interface (wlan-av1) does not work after software update or restart of AvNav HOT 2
- Computed NMEA data (APB, RMB) sent to Signalk are not correctly parsed HOT 10
- Improve AIS Display HOT 1
- AIS didn't show (Android) HOT 12
- Installation on Bookworm failed HOT 4
- Allow to move the map when locked to GPS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from avnav.