[beagleboard] Re: GPS, GPS, GPS and More!

2017-09-14 Thread Mala Dies
Hello,

I am having complications with import. See here: *ImportError: No module 
named pyupm_grovegprs*. Is there a way to import this module? If there is a 
way to import this module, where should I file it?

Seth




On Thursday, September 14, 2017 at 7:47:49 PM UTC-5, Mala Dies wrote:
>
> Hello,
>
> Seth here. I am currently dealing with the software mentioned above for 
> the Grove GPS module. I am not getting any reads from the software just 
> yet. I am sure I am way off but I have an empty prompt after running the 
> file. It does not give any readings from the print functions and I do not 
> get any info. on what should happen next.
>
> For now, the software runs (supposedly) and no errors are returned.
>
> Seth
>
> P.S. Are you messing with the Grove GPS module too? If so, can you give 
> any ideas or recommendations on this specific module?
>
> On Wednesday, September 13, 2017 at 8:30:20 PM UTC-5, Dennis Lee Bieber 
> wrote:
>>
>> On Wed, 13 Sep 2017 16:44:42 -0700 (PDT), Mala Dies 
>>  declaimed the following: 
>>
>> >Hello, 
>> > 
>> >I received a message from the U-Blox people and on the U-Blox site. They 
>> >said something about Wine. I looked into it. It is only for 32 bit 
>> >architecture and not for ARM. 
>> > 
>>
>> The BBB IS a 32-bit architecture (the RPi-3 is actually 64-bit -- 
>> but 
>> as the RPi foundation is only releasing 32-bit OS, a lot of that 
>> capability 
>> is lost).. 
>>
>> What the BBB is NOT is /Intel/ architecture. This is needed as 
>> WINE is 
>> just a system call interface translating win32 system calls to the 
>> nearest 
>> equivalent Linux functions. 
>> -- 
>> Wulfraed Dennis Lee Bieber AF6VN 
>> wlf...@ix.netcom.comHTTP://wlfraed.home.netcom.com/ 
>>
>>

-- 
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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/38bf023e-3d8d-4629-8aee-34111386937b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: GPS, GPS, GPS and More!

2017-09-14 Thread Mala Dies
Hello,

Seth here. I am currently dealing with the software mentioned above for the 
Grove GPS module. I am not getting any reads from the software just yet. I 
am sure I am way off but I have an empty prompt after running the file. It 
does not give any readings from the print functions and I do not get any 
info. on what should happen next.

For now, the software runs (supposedly) and no errors are returned.

Seth

P.S. Are you messing with the Grove GPS module too? If so, can you give any 
ideas or recommendations on this specific module?

On Wednesday, September 13, 2017 at 8:30:20 PM UTC-5, Dennis Lee Bieber 
wrote:
>
> On Wed, 13 Sep 2017 16:44:42 -0700 (PDT), Mala Dies 
> > declaimed the following: 
>
> >Hello, 
> > 
> >I received a message from the U-Blox people and on the U-Blox site. They 
> >said something about Wine. I looked into it. It is only for 32 bit 
> >architecture and not for ARM. 
> > 
>
> The BBB IS a 32-bit architecture (the RPi-3 is actually 64-bit -- 
> but 
> as the RPi foundation is only releasing 32-bit OS, a lot of that 
> capability 
> is lost).. 
>
> What the BBB is NOT is /Intel/ architecture. This is needed as 
> WINE is 
> just a system call interface translating win32 system calls to the nearest 
> equivalent Linux functions. 
> -- 
> Wulfraed Dennis Lee Bieber AF6VN 
> wlf...@ix.netcom.com HTTP://wlfraed.home.netcom.com/ 
>
>

-- 
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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/c7ecb9f1-1276-4e03-86ba-fd491fe5ca6a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] Re: GPS, GPS, GPS and More!

2017-09-13 Thread Mala Dies
Hello,

I received a message from the U-Blox people and on the U-Blox site. They 
said something about Wine. I looked into it. It is only for 32 bit 
architecture and not for ARM. 

Seth

P.S. No!

On Wednesday, September 13, 2017 at 5:01:07 AM UTC-5, Mala Dies wrote:
>
> 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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/c4007e28-f0cd-458b-b2e0-c3d51540c89c%40googlegroups.com.
For more options, visit https://groups.google.com/d/opto

[beagleboard] Re: GPS, GPS, GPS and More!

2017-09-13 Thread Mala Dies
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 beagleboard+unsubscr...@googlegroups.com.
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.


[beagleboard] Re: GPS, GPS, GPS and More!

2017-09-12 Thread Mala Dies
Hello Again,

Here: Command "python setup.py egg_info" failed with error code 1 in 
/tmp/pip-build-euoTR3/math/ 

Dang: This is what printed out when I tried to get "math" set up by pip on 
Debian. No good. 

Seth

P.S. Is there any workaround or dialog I should know about? If so, let a 
brother know. I have to get "math" set up to run this Grove_GPS.py file. I 
downloaded the "serial" or pyserial from pip. This "cured" my issues with 
the error: serial not found. 

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 beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/d0c0872f-d154-40d6-aa83-0450ea95fc2e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.