paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] GPS_PORT_ID


From: Ben Laurie
Subject: Re: [Paparazzi-devel] GPS_PORT_ID
Date: Sat, 26 Oct 2013 18:43:16 +0100

On 26 October 2013 14:28, Freek van Tienen <address@hidden> wrote:
> 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.

I've actually made it work, there'll be a pull request shortly.

But I still maintain that the GPS_PORT_ID setting doesn't work. I had
to change it in the C file.

>
> 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
>> address@hidden
>> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>
>
>
> _______________________________________________
> Paparazzi-devel mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
>



reply via email to

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