2020-01-27, 03:05 AM
(2020-01-25, 11:02 AM)MatsA Wrote:(2020-01-25, 03:53 AM)mgrouch Wrote: Does it store current position in memory which I can query?...........
There are several ways ....
One could be picking NMEA, RMC with
nc localhost 10110 | grep -i RMC
another could be using curl and the URL
http://Your_Host:3000/signalk/v1/api/ves.../position/
Thanks! It worked with URL query.
Code:
curl -s http://localhost:3000/signalk/v1/api/vessels/self/navigation/position/ | jq -M -jr '.value.latitude," ",.value.longitude'
Download BBN Marine OS for raspberry piĀ
https://bareboat-necessities.github.io/m...at-os.html
Video of actual installation:
https://www.youtube.com/watch?v=3zMjUs2X3qU
https://bareboat-necessities.github.io/m...at-os.html
Video of actual installation:
https://www.youtube.com/watch?v=3zMjUs2X3qU