From: Jorge S. S. <js...@gm...> - 2006-04-28 13:27:32
|
Now I can answer myself: almost every GPS is differential-ready. But my second questions remains: D-GPS allows indoor navigation? Jorge > -----Mensaje original----- > De: pla...@li...=20 > [mailto:pla...@li...] En=20 > nombre de Jorge Santos Simon > Enviado el: viernes, 28 de abril de 2006 15:11 > Para: pla...@li... > Asunto: RE: [Playerstage-users] invalid readings from GPS:=20 > Garmin etrex vista >=20 > Hi, Toby / Yongguo >=20 > Any progress using the Garmin etrex vista GPS with PS? > Because I will have one of these little-wonders in a very=20 > near future, and I will try to use it with my robot. >=20 > And related with this: Do you know if this GPS supports=20 > differential GPS? I suppose that D-GPS is the only way to=20 > Reliably use GPS for an indoor robot. What do you think? >=20 > Thank you a lot! > Jorge >=20 > > -----Mensaje original----- > > De: pla...@li... > > [mailto:pla...@li...] En nombre de=20 > > Toby Collett Enviado el: lunes, 13 de marzo de 2006 23:02 > > Para: pla...@li... > > Asunto: Re: [Playerstage-users] invalid readings from GPS:=20 > > Garmin etrex vista > >=20 > > Hi, > > Im not very familiar with the specific driver but it looks=20 > like there=20 > > is some sort of protocol error between the driver and the=20 > device (i.e.=20 > > its not a generic player problem). Do you know if that=20 > model of Garmin=20 > > GPS is the same as the one the driver was developed for, if=20 > not there=20 > > could be some subtle differences in the NMEA sentences that=20 > the device=20 > > is sending, or possibly the baud rate is incorrect? Have you tried=20 > > connecting directly to the serial port and seeing if the=20 > data you are=20 > > getting is valid? > >=20 > > Toby > >=20 > > yongguo mei wrote: > > > A question about using GPS: > > >=20 > > > I use a Garmin etrex vista GPS device plus serial-to-USB cable=20 > > > connecting to a laptop with Fedora Core 4.0 OS. The > > following > > > are what happens in the server and client ends and the > > codes. The GPS > > > has right redings on its own screen. However, the readings > > from it are invalid. > > >=20 > > > Has someone have similar problems or can provide help? > > >=20 > > > Thanks a lot, > > > Yongguo > > >=20 > > >=20 > ******************************************************************** > > > server end > > >=20 > ******************************************************************** > > > root@localhost config]# player gps.cfg > > > ** Player v1.6.5 ** > > > * Part of the Player/Stage Project > > [http://playerstage.sourceforge.net]. > > > * Copyright 2000-2005 Brian Gerkey, Richard Vaughan,=20 > Andrew Howard, > > > * Nate Koenig and contributors. > > > * Released under the GNU General Public License. > > > Startup options: [TCP] > > >=20 > > > Parsing configuration file "gps.cfg" > > > Using device table: > > > ------------------------------------------------------------ > > > driver garminnmea provides 6665:gps:0 > > > ------------------------------------------------------------ > > > listening on ports: 6665 > > > ** Player [port 6665] client accepted from 127.0.0.1 on=20 > socket 5 **=20 > > > GPS connection initializing (/dev/ttyUSB0)...filling buffer done=20 > > > filling buffer Done. > > > warning : couldn't find an end character; discarding data > > > ** Player [port 6665] killing client on socket 5 ** > > > ** Player [port 6665] client accepted from 127.0.0.1 on=20 > socket 5 **=20 > > > GPS connection initializing (/dev/ttyUSB0)...filling buffer done=20 > > > filling buffer Done. > > > ** Player [port 6665] killing client on socket 5 ** > > > ** Player [port 6665] client accepted from 127.0.0.1 on=20 > socket 5 **=20 > > > GPS connection initializing (/dev/ttyUSB0)...filling buffer done=20 > > > filling buffer Done. > > > ******************************************************** > > > client end > > > ******************************************************** > > > [ymei@localhost c++]$ ./gps > > > #GPS(13:0) - r > > > #(fix,lat,long,alt,sats) > > > 0 0.000000 0.000000 0.000000 134515818 > > > #GPS(13:0) - r > > > #(fix,lat,long,alt,sats) > > > 0 0.000000 0.000000 0.000000 134515818 > > > #GPS(13:0) - r > > > #(fix,lat,long,alt,sats) > > > 0 0.000000 0.000000 0.000000 134515818 > > > #GPS(13:0) - r > > > #(fix,lat,long,alt,sats) > > > 0 0.000000 0.000000 0.000000 134515818 > > >=20 > > > ************************************************************ > > > configuration file and test file > > > ************************************************************ > > > # gps.cfg > > > driver > > > ( > > > name "garminnmea" > > > provides ["gps:0"] > > > port "/dev/ttyUSB0" > > > dgps_enable 0 > > > ) > > >=20 > > >=20 > > > /* > > > * gps.cc > > > * > > > * a simple demo to open, close and read the GPS device */ > > >=20 > > > #include <playerclient.h> > > > #include <stdio.h> > > > #include <unistd.h> > > > #include <string.h> > > > #include <stdlib.h> > > >=20 > > > char host[256] =3D "localhost"; > > > int port =3D PLAYER_PORTNUM; > > >=20 > > > /* parse command-line args */ > > > void > > > parse_args(int argc, char** argv) > > > { > > > int i; > > >=20 > > > i=3D1; > > > while(i<argc) > > > { > > > if(!strcmp(argv[i],"-h")) > > > { > > > if(++i<argc) > > > strcpy(host,argv[i]); > > > else > > > { > > > //puts(USAGE); > > > exit(1); > > > } > > > } > > > else if(!strcmp(argv[i],"-p")) > > > { > > > if(++i<argc) > > > port =3D atoi(argv[i]); > > > else > > > { > > > //puts(USAGE); > > > exit(1); > > > } > > > } > > > else > > > { > > > //puts(USAGE); > > > exit(1); > > > } > > > i++; > > > } > > > } > > >=20 > > > int main(int argc, char **argv) > > > { > > > parse_args(argc,argv); > > >=20 > > > /* Connect to Player server */ > > > PlayerClient robot(host,port); > > >=20 > > > /* Request sensor data from GPS device*/ GpsProxy > > gp(&robot,0,'r'); > > > int count=3D0; > > >=20 > > > for(;;) > > > { > > > if(robot.Read()) > > > exit(1); > > > // printf("%d, %f, %f, %f, %d\t", count++, gp.longitude,=20 > > > gp.latitude, gp.al titude, gp.satellites); > > > gp.Print(); > > > // usleep(1000000); // sleep one second > > > } > > >=20 > > > return(0); > > > } > > >=20 > > >=20 > > >=20 > > >=20 > > > ------------------------------------------------------- > > > This SF.Net email is sponsored by xPML, a groundbreaking=20 > scripting=20 > > > language that extends applications into web and mobile > > media. Attend > > > the live webcast and join the prime developer group > > breaking into this > > > new coding territory! > > >=20 > >=20 > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D1216 > > > 42 _______________________________________________ > > > Playerstage-users mailing list > > > Pla...@li... > > > https://lists.sourceforge.net/lists/listinfo/playerstage-users > > >=20 > >=20 > >=20 > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting=20 > > language that extends applications into web and mobile=20 > media. Attend=20 > > the live webcast and join the prime developer group=20 > breaking into this=20 > > new coding territory! > > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720& > > dat=3D121642 > > _______________________________________________ > > Playerstage-users mailing list > > Pla...@li... > > https://lists.sourceforge.net/lists/listinfo/playerstage-users > >=20 >=20 > ______________________ > Este mensaje, y en su caso, cualquier fichero anexo al mismo,=20 > puede contener informacion clasificada por su emisor como=20 > confidencial en el marco de su Sistema de Gestion de=20 > Seguridad de la Informacion siendo para uso exclusivo del=20 > destinatario, quedando prohibida su divulgacion copia o=20 > distribucion a terceros sin la autorizacion expresa del=20 > remitente. Si Vd. ha recibido este mensaje erroneamente, se=20 > ruega lo notifique al remitente y proceda a su borrado.=20 > Gracias por su colaboracion. > ______________________ > This message including any attachments may contain=20 > confidential information, according to our Information=20 > Security Management System, and intended solely for a=20 > specific individual to whom they are addressed. > Any unauthorised copy, disclosure or distribution of this=20 > message is strictly forbidden. If you have received this=20 > transmission in error, please notify the sender immediately=20 > and delete it. > ______________________ >=20 >=20 > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web=20 > services, security? > Get stuff done quickly with pre-integrated technology to make=20 > your job easier Download IBM WebSphere Application Server=20 > v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=120709&bid&3057&dat=121642 > _______________________________________________ > Playerstage-users mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/playerstage-users >=20 ______________________ Este mensaje, y en su caso, cualquier fichero anexo al mismo, puede contener informacion clasificada por su emisor como confidencial en el marco de su Sistema de Gestion de Seguridad de la=20 Informacion siendo para uso exclusivo del destinatario, quedando=20 prohibida su divulgacion copia o distribucion a terceros sin la=20 autorizacion expresa del remitente. Si Vd. ha recibido este mensaje=20 erroneamente, se ruega lo notifique al remitente y proceda a su borrado.= =20 Gracias por su colaboracion. ______________________ This message including any attachments may contain confidential=20 information, according to our Information Security Management System, and intended solely for a specific individual to whom they are addressed. Any unauthorised copy, disclosure or distribution of this message is strictly forbidden. If you have received this transmission in error, please notify the sender immediately and delete it. ______________________ |