[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Paparazzi-devel] GPS_PORT_ID

From: Freek van Tienen
Subject: Re: [Paparazzi-devel] GPS_PORT_ID
Date: Sat, 26 Oct 2013 15:28:32 +0200

Yes it is a bit confusing, but it should talk to the right device...
The GPS Port is emulated as an UART1 device inside paparazzi, zo that it can handle all the normal paparazzi code.

What I advice you to do is to telnet in the device and stop the ap.elf and start it yourself so that you see the printf output. Normally when you enable the ublox ucenter module it will output at which baudrates it tries to connect to the GPS to set the correct settings. You could also enable some more printf's inside the ubloc ucenter module if I'm right. End else enable the printf's inside the uart code of the omap arch, then it will output all the informations end to and from the gps.

Hope this helps!

2013/10/26 Ben Laurie <address@hidden>
I'm working on fixing the problem with u-blox over USB.

conf/modules/gps_ubx_ucenter.xml has this line:

    <define name="GPS_PORT_ID" value="GPS_PORT_UART2" description=""/>

but as far as I can tell, this value is not actually used anywhere
(that is, GPS_PORT_ID is not actually set by this line).

How is this supposed to work?

Likewise, ardrone2_raw.makefile has:

GPS_PORT           ?= UART1

which actually does appear to be used. But does not define GPS_PORT_ID
- which is probably correct, since it seems its talking about a
different kind of UART, but ... rather confusing!

Paparazzi-devel mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]