This page will cover setting up the GPS portion for the board that I have described in the previously. For this we will be using: https://github.com/KumarRobotics/ublox after we test everything out.
Never got to doing this... sorry I probably will soon. But I will keep this here as a placeholder. 5/29/21
I found the GPS drivers: https://github.com/KumarRobotics/ublox
I haven't tried with ROS yet, but i have hooked up the GPS via usb to serial. I found the connection by using: ls /dev > a.txt --in the terminal, then plugging in the usb to serial connected to the gps, then running ls /dev > b.txt, and then running diff a.txt b.txt. this showed me that the port is ttyUSB0.
I then watched the data from the GPS with the command: sudo cat /dev/ttyUSB0 This was done to ensure that there was data being received from the GPS. Next, I used the command: sudo cat /dev/ttyUSB0 > test.txt. I then used: sudo cat /dev/ttyUSB0 > test.txt -- for a moment then used ctl+c to kill the process.
The data from the GPS isn't going to be shown here due to NSA monitoring--JK_LOL.
Here is what it spit out:
$GPRMC,,V,,,,,,,,,,N*53
$GPVTG,,,,,,,,,N*30
$GPGGA,,,,,,0,00,99.99,,,,,,*48
$GPGSA,A,1,,,,,,,,,,,,,99.99,99.99,99.99*30
$GPGSV,1,1,04,10,,,23,23,,,22,24,,,20,26,,,22*7C
$GPGLL,,,,,,V,N*64
$GPTXT,01,01,01,NMEA unknown msg*58
According to the internet, this is several different GPS output types. And according to: https://rl.se/gprmc , I didn't give it enough sky to give the location data.
All this means it that the GPS works, the UART to USB works, and we are getting good data (albeit, not location data--due to being indoors).
Last edited on: 6/02/21