From: Mipo01 <Mi...@gm...> - 2012-06-02 21:04:47
|
Hi We have project at University and we gonna use Overo FE and Gallop43 board. I am really newbie in Linux programming but i really like to gain skills in this area so i took task about rewrite Matlab control model to C code running on Gumstix. So till now i am trying to figure out how to gather data from Accelerometer, GPS sensor and external compass on I2C bus. I found one C code for Accelerometer and i am playing with it now but i cannot find some relevant information how to read GPS. So could you give me some advice or guidelines how can i simple read these data? Thank you very much :-) -- View this message in context: http://gumstix.8.n6.nabble.com/Read-GPS-position-in-C-tp4964507.html Sent from the Gumstix mailing list archive at Nabble.com. |
From: j <vwy...@gm...> - 2012-06-02 21:15:13
|
On 06/02/2012 02:04 PM, Mipo01 wrote: > Hi > > We have project at University and we gonna use Overo FE and Gallop43 board. > I am really newbie in Linux programming but i really like to gain skills in > this area so i took task about rewrite Matlab control model to C code > running on Gumstix. So till now i am trying to figure out how to gather data > from Accelerometer, GPS sensor and external compass on I2C bus. I found one > C code for Accelerometer and i am playing with it now but i cannot find some > relevant information how to read GPS. > So could you give me some advice or guidelines how can i simple read these > data? > > Thank you very much :-) > > -- > View this message in context: http://gumstix.8.n6.nabble.com/Read-GPS-position-in-C-tp4964507.html > Sent from the Gumstix mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users You can find different examples in the MatrixPilot and pixhawk code. Here is one example from MP. that may get you on your way. What GPS are you using? HTH // This file is part of MatrixPilot. // // http://code.google.com/p/gentlenav/ // // Copyright 2009-2011 MatrixPilot Team // See the AUTHORS.TXT file for a list of authors of MatrixPilot. // // MatrixPilot is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // MatrixPilot is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License // along with MatrixPilot. If not, see <http://www.gnu.org/licenses/>. #include "libDCM_internal.h" #if ( GPS_TYPE == GPS_STD ) // Parse the GPS messages, using the binary interface. // The parser uses a state machine implemented via a pointer to a function. // Binary values received from the GPS are directed to program variables via a table // of pointers to the variable locations. // Unions of structures are used to be able to access the variables as long, ints, or bytes. union intbb payloadlength ; void msg_A0( unsigned char inchar ) ; void msg_A2( unsigned char inchar ) ; void msg_PL1( unsigned char inchar ) ; void msg_PL2( unsigned char inchar ) ; //void msg_MSG2( unsigned char inchar ) ; void msg_MSG41( unsigned char inchar ) ; void msg_MSGU( unsigned char inchar ) ; void msg_B0( unsigned char inchar ) ; void msg_B3( unsigned char inchar ) ; const char bin_mode[] = "$PSRF100,0,19200,8,1,0*39\r\n" ; // turn on binary const unsigned int mode_length = 9 ; const unsigned char mode[] = {0x86, 0x00,0x00,0x4B,0x00, 0x08, 0x01, 0x00, 0x00 } ; void (* msg_parse ) ( unsigned char inchar ) = &msg_B3 ; unsigned char un ; //union longbbbb xpg_ , ypg_ , zpg_ ; //union intbb xvg_ , yvg_ , zvg_ ; //unsigned char mode1_ , mode2_ ; unsigned char svs_ ; //unsigned char svsmin = 24 ; //unsigned char svsmax = 0 ; /* unsigned char * const msg2parse[] = { &xpg_.__.B3 , &xpg_.__.B2 , &xpg_.__.B1 ,&xpg_.__.B0 , &ypg_.__.B3 , &ypg_.__.B2 , &ypg_.__.B1 ,&ypg_.__.B0 , &zpg_.__.B3 , &zpg_.__.B2 , &zpg_.__.B1 ,&zpg_.__.B0 , &xvg_._.B1 , &xvg_._.B0 , &yvg_._.B1 , &yvg_._.B0 , &zvg_._.B1 , &zvg_._.B0 , &mode1_ , &un , &mode2_ , &un , &un , &un , &un , &un , &un , &svs_ , &un , &un , &un , &un , &un , &un , &un , &un , &un , &un , &un , &un , &un , &un } ; */ union longbbbb lat_gps_ , long_gps_ , alt_sl_gps_ , tow_ ; union intbb nav_valid_ , nav_type_ , sog_gps_ , cog_gps_ , climb_gps_ , week_no_ ; unsigned char hdop_ ; unsigned char * const msg41parse[] = { &nav_valid_._.B1 , &nav_valid_._.B0 , &nav_type_._.B1 , &nav_type_._.B0 , // &un , &un , &un , &un , &un , &un , &week_no_._.B1 , &week_no_._.B0 , &tow_.__.B3 , &tow_.__.B2 , &tow_.__.B1 , &tow_.__.B0 , &un , &un , &un , &un , &un , &un , &un , &un , &un , &un , &un , &un , &lat_gps_.__.B3 , &lat_gps_.__.B2 , &lat_gps_.__.B1 , &lat_gps_.__.B0 , &long_gps_.__.B3 , &long_gps_.__.B2 , &long_gps_.__.B1 , &long_gps_.__.B0 , &un , &un , &un , &un , &alt_sl_gps_.__.B3 , &alt_sl_gps_.__.B2 , &alt_sl_gps_.__.B1 , &alt_sl_gps_.__.B0 , &un , &sog_gps_._.B1 , &sog_gps_._.B0 , &cog_gps_._.B1 , &cog_gps_._.B0 , &un , &un , &climb_gps_._.B1 , &climb_gps_._.B0 , &un , &un , &un , &un , &un , &un , &un , &un , &un , &un , &un , &un , &un , &un , &un , &un , &un , &un , &un , &un , &un , &un , &un , &un , &un , &un , &un , &un , &un , &un , &un , &un , &un , &un , &un , &un , &un , &un , &un , &un , &svs_ , &hdop_ , &un , &un , &un } ; // if nav_valid is zero, there is valid GPS data that can be used for navigation. boolean gps_nav_valid(void) { return (nav_valid_.BB == 0) ; } void gps_startup_sequence(int gpscount) { if (gpscount == 40) udb_gps_set_rate(4800); else if (gpscount == 30) // set the GPS to use binary mode gpsoutline((char*)bin_mode) ; else if (gpscount == 20) // command GPS to select which messages are sent, using NMEA interface gpsoutbin( mode_length , mode ) ; else if (gpscount == 10) // Switch to 19200 baud udb_gps_set_rate(19200); return ; } /* int hex_count = 0 ; const char convert[] = "0123456789ABCDEF" ; const char endchar = 0xB3 ; void hex_out( char outchar ) // Used for debugging purposes, converts to HEX and outputs to the debugging USART // Only the first 5 bytes following a B3 are displayed. { if ( hex_count > 0 ) { U1TXREG = convert[ ( (outchar>>4) & 0x0F ) ] ; U1TXREG = convert[ ( outchar & 0x0F ) ] ; U1TXREG = ' ' ; hex_count -- ; } if ( outchar == endchar ) { hex_count = 5 ; U1TXREG = '\r' ; U1TXREG = '\n' ; } return ; } */ int store_index = 0 ; // The parsing routines follow. Each routine is named for the state in which the routine is applied. // States correspond to the portions of the binary messages. // For example, msg_B3 is the routine that is applied to the byte received after a B3 is received. // If an A0 is received, the state machine transitions to the A0 state. void msg_B3 ( unsigned char gpschar ) { if ( gpschar == 0xA0 ) { msg_parse = &msg_A0 ; } else { // error condition } return ; } void msg_A0 ( unsigned char gpschar ) { if ( gpschar == 0xA2 ) { store_index = 0 ; msg_parse = &msg_A2 ; } else { msg_parse = &msg_B3 ; // error condition } return ; } void msg_A2 ( unsigned char gpschar ) { payloadlength._.B1 = gpschar ; msg_parse = &msg_PL1 ; return ; } void msg_PL1 ( unsigned char gpschar ) { payloadlength._.B0 = gpschar ; payloadlength.BB++ ; // take care of checksum msg_parse = &msg_PL2 ; return ; } void msg_PL2 ( unsigned char gpschar ) { // the only SiRF message being used by MatrixPilot is 41. switch ( gpschar ) { /* case 0x02 : { if (payloadlength.BB == sizeof(msg2parse)>>1) { msg_parse = &msg_MSG2 ; } else { msg_parse = &msg_B3 ; } break ; } */ case 0x29 : { if (payloadlength.BB == sizeof(msg41parse)>>1) { msg_parse = &msg_MSG41 ; } else { msg_parse = &msg_B3 ; } break ; } default : { msg_parse = &msg_MSGU ; break ; } } return ; } /* void msg_MSG2 ( unsigned char gpschar ) { if ( payloadlength.BB > 0 ) { *msg2parse[store_index++] = gpschar ; payloadlength.BB-- ; } else { if ( gpschar == 0xB0 ) { msg_parse = &msg_B0 ; } else { msg_parse = &msg_B3 ; // error condition } } return ; } */ void msg_MSG41 ( unsigned char gpschar ) { if ( payloadlength.BB > 0 ) { *msg41parse[store_index++] = gpschar ; payloadlength.BB-- ; } else { udb_background_trigger() ; // parsing is complete, schedule navigation if ( gpschar == 0xB0 ) { msg_parse = &msg_B0 ; } else { msg_parse = &msg_B3 ; // error condition } } return ; } void msg_MSGU ( unsigned char gpschar ) { if ( payloadlength.BB > 0 ) { payloadlength.BB-- ; } else { if ( gpschar == 0xB0 ) { msg_parse = &msg_B0 ; } else { msg_parse = &msg_B3 ; // error condition } } return ; } void msg_B0 ( unsigned char gpschar ) { if ( gpschar == 0xB3 ) { msg_parse = &msg_B3 ; } else { msg_parse = &msg_B3 ; // error condition } return ; } void commit_gps_data(void) { week_no = week_no_ ; tow = tow_ ; lat_gps = lat_gps_ ; long_gps = long_gps_ ; alt_sl_gps = alt_sl_gps_ ; sog_gps = sog_gps_ ; cog_gps = cog_gps_ ; climb_gps = climb_gps_ ; hdop = hdop_ ; //xpg = xpg_ ; //ypg = ypg_ ; //zpg = zpg_ ; //xvg = xvg_ ; //yvg = yvg_ ; //zvg = zvg_ ; //mode1 = mode1_ ; //mode2 = mode2_ ; svs = svs_ ; return ; } #endif |
From: Mipo01 <Mi...@gm...> - 2012-06-02 21:22:24
|
Thank you very much for your response :-) ill check it. We are using uBlox Neo G5 GPS. And compass is Compass Module - HMC6352 from Sparkfun. -- View this message in context: http://gumstix.8.n6.nabble.com/Read-GPS-position-in-C-tp4964507p4964509.html Sent from the Gumstix mailing list archive at Nabble.com. |
From: j <vwy...@gm...> - 2012-06-02 21:26:09
|
On 06/02/2012 02:22 PM, Mipo01 wrote: > Thank you very much for your response :-) ill check it. > We are using uBlox Neo G5 GPS. And compass is Compass Module - HMC6352 from > Sparkfun. > > -- > View this message in context: http://gumstix.8.n6.nabble.com/Read-GPS-position-in-C-tp4964507p4964509.html > Sent from the Gumstix mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users Then all of the projects I mentioned will have actual examples for using that GPS it is a common one in the open source UAV world :) There are lots of options on how to read/parse the data |
From: j <vwy...@gm...> - 2012-06-02 21:22:56
|
On 06/02/2012 02:04 PM, Mipo01 wrote: > Hi > > We have project at University and we gonna use Overo FE and Gallop43 board. > I am really newbie in Linux programming but i really like to gain skills in > this area so i took task about rewrite Matlab control model to C code > running on Gumstix. So till now i am trying to figure out how to gather data > from Accelerometer, GPS sensor and external compass on I2C bus. I found one > C code for Accelerometer and i am playing with it now but i cannot find some > relevant information how to read GPS. > So could you give me some advice or guidelines how can i simple read these > data? > > Thank you very much :-) > > -- > View this message in context: http://gumstix.8.n6.nabble.com/Read-GPS-position-in-C-tp4964507.html > Sent from the Gumstix mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users Oh and also forgot to mention the paparazzi project. The have a UAV system that is called Lisa that uses an overo. They will have examples for you to browse through. http://paparazzi.enac.fr/wiki/Overo |
From: Mipo01 <Mi...@gm...> - 2012-06-02 21:29:16
|
Looks nice :-) i hope it helps :-) Thank you again for advices ;-) -- View this message in context: http://gumstix.8.n6.nabble.com/Read-GPS-position-in-C-tp4964507p4964512.html Sent from the Gumstix mailing list archive at Nabble.com. |
From: <jea...@fr...> - 2012-06-03 17:59:23
|
Hi, i'm using a ublox neo 6G and to read it, I use Pegase2 C++ library developped by the LCPC laboratory (french labo). My program (c++) works fine... if you want I can give you the files necessary for the use of GPS (If LCPC allows me to do it)... The Pegase1 library are C library (if you have to write C program), and this is open source : http://ifsttar.power-lan.com/p/pegase/source/tree/master/uClinux-dist/lib/pegase Sample : http://ifsttar.power-lan.com/p/pegase/source/tree/master/uClinux-dist/user/pegase-test regards Jean ----- Mail original ----- De: "Mipo01" <Mi...@gm...> À: gum...@li... Envoyé: Samedi 2 Juin 2012 23:29:08 Objet: Re: [Gumstix-users] Read GPS position in C Looks nice :-) i hope it helps :-) Thank you again for advices ;-) -- View this message in context: http://gumstix.8.n6.nabble.com/Read-GPS-position-in-C-tp4964507p4964512.html Sent from the Gumstix mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ gumstix-users mailing list gum...@li... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
From: Mipo01 <Mi...@gm...> - 2012-06-03 18:52:35
|
This looks very nice :-) So if i understand it well these are open source code but you have some more specific solution especially for reading GPS, right ? So sure i would be very appreciate if you could send me these files especially for GPS :-) Thank you very much for help :-) -- View this message in context: http://gumstix.8.n6.nabble.com/Read-GPS-position-in-C-tp4964507p4964515.html Sent from the Gumstix mailing list archive at Nabble.com. |
From: <jea...@fr...> - 2012-06-04 11:57:10
|
I don't know if you can dl the files which I added on my last message (because maximum size = 250 Kb) if not, I'll send them to your personal email address, and if anyone else want them, I'll send them too. Jean |
From: <jea...@fr...> - 2012-06-07 07:20:38
|
I use the boost library's from packages manager "opkg": opkg install boost opkg install boost-dev If you have no access to the internet on your overo, yes you can use these from http://www.boost.org/. if you have further questions, don't hesitate to ask me ;) regards Jean ----- Mail original ----- De: "Michal Gonda" <mi...@gm...> À: "jean gueganno" <jea...@fr...> Envoyé: Mercredi 6 Juin 2012 20:17:23 Objet: Re: [Gumstix-users] Read GPS position in C Could I ask something? I found out that for compiling i need some boost libraries. Are you using these from this pages http://www.boost.org/ ? Thank's Best Michal On 4 June 2012 16:43, Michal Gonda < mi...@gm... > wrote: Thank you VERY much :-) It'll save me a lot of time. Thanks again !!! :-) On 4 June 2012 16:06, < jea...@fr... > wrote: Yo, The laboratory is ok ;) I'll give you different files : - The full Pegase2 files (with samples) - My programs (relay which read GPS and send sentences on a port (tcp/ip) / Decoder which read the port and decode interesting sentences) have fun! Jean -- Best regards Michal Gonda -- Best regards Michal Gonda |
From: Mipo01 <Mi...@gm...> - 2012-06-07 11:25:30
|
Thank you very much :-) Actually yes, i dont have access to internet on overo so i downloaded libraries but could you advice me where need i put it? Could it be directly to /lib or it needs to be in some specific folder? And after that im using g++ -o <file> <file> command to compile code so can i use the same for CGPSExample file? Best Michal On 7 June 2012 09:21, jean.gueganno [via Gumstix] < ml-...@n6...> wrote: > I use the boost library's from packages manager "opkg": > > opkg install boost > opkg install boost-dev > > If you have no access to the internet on your overo, yes you can use these > from http://www.boost.org/. > > if you have further questions, don't hesitate to ask me ;) > > regards > > Jean > > ----- Mail original ----- > De: "Michal Gonda" <[hidden email]<http://user/SendEmail.jtp?type=node&node=4964546&i=0>> > > À: "jean gueganno" <[hidden email]<http://user/SendEmail.jtp?type=node&node=4964546&i=1>> > > Envoyé: Mercredi 6 Juin 2012 20:17:23 > Objet: Re: [Gumstix-users] Read GPS position in C > > > Could I ask something? I found out that for compiling i need some boost > libraries. Are you using these from this pages http://www.boost.org/ ? > > > > Thank's > > > Best > Michal > > On 4 June 2012 16:43, Michal Gonda < [hidden email]<http://user/SendEmail.jtp?type=node&node=4964546&i=2>> wrote: > > > > Thank you VERY much :-) It'll save me a lot of time. > > > > Thanks again !!! :-) > > > > On 4 June 2012 16:06, < [hidden email]<http://user/SendEmail.jtp?type=node&node=4964546&i=3>> wrote: > > > Yo, > > The laboratory is ok ;) I'll give you different files : > > - The full Pegase2 files (with samples) > - My programs (relay which read GPS and send sentences on a port (tcp/ip) > / Decoder which read the port and decode interesting sentences) > > have fun! > > Jean > > > > -- > Best regards > Michal Gonda > > > > -- > Best regards > Michal Gonda > > ------------------------------------------------------------------------------ > > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > gumstix-users mailing list > [hidden email] <http://user/SendEmail.jtp?type=node&node=4964546&i=4> > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://gumstix.8.n6.nabble.com/Read-GPS-position-in-C-tp4964507p4964546.html > To unsubscribe from Read GPS position in C, click here<http://gumstix.8.n6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4964507&code=TWlwbzAxQGdtYWlsLmNvbXw0OTY0NTA3fC0xMDkwOTk4NDE3> > . > NAML<http://gumstix.8.n6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- Best regards Michal Gonda -- View this message in context: http://gumstix.8.n6.nabble.com/Read-GPS-position-in-C-tp4964507p4964547.html Sent from the Gumstix mailing list archive at Nabble.com. |
From: <jea...@fr...> - 2012-06-07 16:17:39
|
Ok to install boost library, go in the directory boost_1_49_0 then run the followings commands: $ ./bootstrap.sh then $ ./b2 (it's take a lot of time -> 2 hours) finally place the files as follow: $ rm -rf /usr/include/boost $ cp -r path_to_boost_1_49_0/boost /usr/include $ cp path_to_boost_1_49_0/stage/lib/*.so* /usr/lib After that, you'll be able to compile GPSExample Good luck! Jean ----- Mail original ----- De: "Mipo01" <Mi...@gm...> À: gum...@li... Envoyé: Jeudi 7 Juin 2012 13:25:23 Objet: Re: [Gumstix-users] Read GPS position in C Thank you very much :-) Actually yes, i dont have access to internet on overo so i downloaded libraries but could you advice me where need i put it? Could it be directly to /lib or it needs to be in some specific folder? And after that im using g++ -o <file> <file> command to compile code so can i use the same for CGPSExample file? Best Michal On 7 June 2012 09:21, jean.gueganno [via Gumstix] < [hidden email] > wrote: I use the boost library's from packages manager "opkg": opkg install boost opkg install boost-dev If you have no access to the internet on your overo, yes you can use these from http://www.boost.org/ . if you have further questions, don't hesitate to ask me ;) regards Jean ----- Mail original ----- De: "Michal Gonda" < [hidden email] > À: "jean gueganno" < [hidden email] > Envoyé: Mercredi 6 Juin 2012 20:17:23 Objet: Re: [Gumstix-users] Read GPS position in C Could I ask something? I found out that for compiling i need some boost libraries. Are you using these from this pages http://www.boost.org/ ? Thank's Best Michal On 4 June 2012 16:43, Michal Gonda < [hidden email] > wrote: Thank you VERY much :-) It'll save me a lot of time. Thanks again !!! :-) On 4 June 2012 16:06, < [hidden email] > wrote: Yo, The laboratory is ok ;) I'll give you different files : - The full Pegase2 files (with samples) - My programs (relay which read GPS and send sentences on a port (tcp/ip) / Decoder which read the port and decode interesting sentences) have fun! Jean -- Best regards Michal Gonda -- Best regards Michal Gonda ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ gumstix-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gumstix-users If you reply to this email, your message will be added to the discussion below: http://gumstix.8.n6.nabble.com/Read-GPS-position-in-C-tp4964507p4964546.html To unsubscribe from Read GPS position in C, click here . NAML -- Best regards Michal Gonda View this message in context: Re: Read GPS position in C Sent from the Gumstix mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ gumstix-users mailing list gum...@li... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
From: Michal G. <mi...@gm...> - 2012-06-07 16:20:22
|
Thanks :-) ill try :-) On 7 June 2012 18:17, <jea...@fr...> wrote: > Ok to install boost library, go in the directory boost_1_49_0 then run the > followings commands: > > $ ./bootstrap.sh > > then > > $ ./b2 (it's take a lot of time -> 2 hours) > > finally place the files as follow: > > $ rm -rf /usr/include/boost > $ cp -r path_to_boost_1_49_0/boost /usr/include > $ cp path_to_boost_1_49_0/stage/lib/*.so* /usr/lib > > After that, you'll be able to compile GPSExample > > Good luck! > > Jean > > > ----- Mail original ----- > De: "Mipo01" <Mi...@gm...> > À: gum...@li... > Envoyé: Jeudi 7 Juin 2012 13:25:23 > Objet: Re: [Gumstix-users] Read GPS position in C > > > > Thank you very much :-) > > > > Actually yes, i dont have access to internet on overo so i downloaded > libraries but could you advice me where need i put it? Could it be directly > to /lib or it needs to be in some specific folder? > And after that im using g++ -o <file> <file> command to compile code so > can i use the same for CGPSExample file? > > > Best > Michal > > On 7 June 2012 09:21, jean.gueganno [via Gumstix] < [hidden email] > wrote: > > > > I use the boost library's from packages manager "opkg": > > opkg install boost > opkg install boost-dev > > If you have no access to the internet on your overo, yes you can use these > from http://www.boost.org/ . > > if you have further questions, don't hesitate to ask me ;) > > regards > > Jean > > ----- Mail original ----- > De: "Michal Gonda" < [hidden email] > > À: "jean gueganno" < [hidden email] > > > Envoyé: Mercredi 6 Juin 2012 20:17:23 > Objet: Re: [Gumstix-users] Read GPS position in C > > > Could I ask something? I found out that for compiling i need some boost > libraries. Are you using these from this pages http://www.boost.org/ ? > > > > Thank's > > > Best > Michal > > > On 4 June 2012 16:43, Michal Gonda < [hidden email] > wrote: > > > > Thank you VERY much :-) It'll save me a lot of time. > > > > Thanks again !!! :-) > > > > > On 4 June 2012 16:06, < [hidden email] > wrote: > > > Yo, > > The laboratory is ok ;) I'll give you different files : > > - The full Pegase2 files (with samples) > - My programs (relay which read GPS and send sentences on a port (tcp/ip) > / Decoder which read the port and decode interesting sentences) > > have fun! > > Jean > > > > -- > Best regards > Michal Gonda > > > > -- > Best regards > Michal Gonda > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > gumstix-users mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > > > > > > If you reply to this email, your message will be added to the discussion > below: > http://gumstix.8.n6.nabble.com/Read-GPS-position-in-C-tp4964507p4964546.html > > > To unsubscribe from Read GPS position in C, click here . > NAML > > > -- > Best regards > Michal Gonda > > > View this message in context: Re: Read GPS position in C > Sent from the Gumstix mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > -- Best regards Michal Gonda |