GPS Expansion
-
Woo.. got mine in the post this morning.
I presume the tools are not yet in the firmware to use it? I can't find any obvious commands.
-
@None-None The GSP expansion will show up as serial device in your Omega. You can look at the raw about put with:
cat /dev/ttyACM0
you will see something like this
$GPRMC,224643.00,V,,,,,,,100216,,,N*7C $GPVTG,,,,,,,,,N*30 $GPGGA,224643.00,,,,,0,00,99.99,,,,,,*63 $GPGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99*30 $GPGSV,2,1,07,05,,,09,07,,,16,09,,,15,11,,,14*79 $GPGSV,2,2,07,29,,,14,30,,,20,32,,,09*79 $GPGLL,,,,,224643.00,V,N*4F
Be sure to place your GPS Exp so it is directly exposed to the sky. Your location info will be encoded in the data. Now you can write your program to make sense of the data.
For a simple parser, check the link below http://stackoverflow.com/questions/311763/parsing-gps-receiver-output-via-regex-in-python
-
I have a question regarding how to read gps data or better "use cat properly":
cat /dev/ttyUSB0 doesnt return anything
stty -f /dev/ttyUSB says "speed 9600"BUT:
screen /dev/ttyUSB0 9600
returns well-formed data continously...What can be the reason. I dont find it out.
Example with Node Js - sorry for spaming around:
https://gist.github.com/benjaminrau/a0ea133786e950deb7ee