Hello Again,

So:

I tried U-Blox U Center. It is some nice software but it only works for 
Windows. I e-mailed the company about if they have Linux versions of the 
U-Blox U Center software. My thoughts were that I could use U Center 
software on our Debian Stretch distro.

Also:

I found a port available on the U Center software for what I believe is my 
BBGW and the Grove GPS. The only actual port that will connect is this COM 
port. I run the software, Grove_GPS.py, from our given Grove software and 
nothing transpires on the U Center COM port connection. 

Anyway:

I am working on this idea and I may be getting further advanced in these 
methods. If you get bored, let me know. Maybe we can use the U Center 
software and see where it takes us. 

Seth

P.S. Here is the software for the Grove_GPS.py file:

*    import Adafruit_BBIO.UART as UART*
*    import serial*
*    import time*
*    import sys*
*    import struct*
*    import math*

*    UART.setup("UART1")*

*    ser = serial.Serial(port = "/dev/ttyO1", baudrate=9600)*
*    ser.flush()*

*    class GPS:*
*        #The GPS module used is a Grove GPS module 
http://www.seeedstudio.com/depot/Grove-GPS-p-959.html*
*        inp=[]*
*        # Refer to SIM28 NMEA spec file 
http://www.seeedstudio.com/wiki/images/a/a0/SIM28_DATA_File.zip*
*        GGA=[]*

*        #Read data from the GPS*
*        def read(self):    *
*            while True:*
*                GPS.inp=ser.readline()*
*                if GPS.inp[:6] =='$GPGGA': # GGA data , packet 1, has all 
the data we need*
*                    break*
*                time.sleep(0.1)*
*            try:*
*                ind=GPS.inp.index('$GPGGA',5,len(GPS.inp))    #Sometimes 
multiple GPS data packets come into the stream. Take the data only after 
the last '$GPGGA' is seen*
*                GPS.inp=GPS.inp[ind:]*
*            except ValueError:*
*                print ""*
*            GPS.GGA=GPS.inp.split(",")    #Split the stream into 
individual parts*
*            return [GPS.GGA]*
        
*        #Split the data into individual elements*
*        def vals(self):*
*            time=GPS.GGA[1]*
*            lat=GPS.GGA[2]*
*            lat_ns=GPS.GGA[3]*
*            long=GPS.GGA[4]*
*            long_ew=GPS.GGA[5]*
*            fix=GPS.GGA[6]*
*            sats=GPS.GGA[7]*
*            alt=GPS.GGA[9]*
*            return [time,fix,sats,alt,lat,lat_ns,long,long_ew]*
*            g=GPS()*
*    f=open("gps_data.csv",'w')    #Open file to log the data*
*    f.write("name,latitude,longitude\n")    #Write the header to the top 
of the file*
*    ind=0*
*    while True:*
*        try:*
*            x=g.read()    #Read from GPS*
*            [t,fix,sats,alt,lat,lat_ns,long,long_ew]=g.vals()    #Get the 
individial values*
*            print "Time:",t,"Fix status:",fix,"Sats in 
view:",sats,"Altitude",alt,"Lat:",lat,lat_ns,"Long:",long,long_ew*
*            
#s=str(t)+","+str(float(lat)/100)+","+str(float(long)/100)+"\n"*
*            #f.write(s)    #Save to file*
*            time.sleep(2)*
*        except IndexError:*
*            print "Unable to read"*


On Wednesday, September 13, 2017 at 12:46:37 AM UTC-5, Mala Dies wrote:
>
> Hello,
>
> I am messing with a u-blox GPS receiver, i.e. Grove GPS. The receiver has 
> some sort of u-blox software and I found out that the Grove_GPS.py file in 
> the Grove_BBG directory on the given software on the Debian Stretch Distro 
> works. Yes, I repeat, "works."
>
> Seth
>
> P.S. Now, I just need to go outside or something and run the software 
> again. I just want people to know that I only know so much and my research 
> skills are minimal at first, esp. when acting alone. So, in hindsight, 
> pitch in with what you know about the Grove GPS and maybe we can 
> learn-a-did. Heh? I need to download "math" and the Debian Distro will not 
> allow me. Can someone allow me to download "math?"
>
>  
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/1e90d7eb-c084-4143-91cb-83597843bfa8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to