paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] gps nmea to ubx conversion


From: Felix Ruess
Subject: Re: [Paparazzi-devel] gps nmea to ubx conversion
Date: Mon, 26 Oct 2015 11:25:16 +0100

Hi Refik,

IIRC the problem was that the NMEA parser uses strncmp (some string operations, printf, ... in newlib do a malloc and need the _sbrk function to be implemented).
You could try to add an empty sbrk stub in order to satisfy the linker:
void *_sbrk(int);
void *_sbrk(int a) {return 0;}

But no guarantees that it won't blow up in your face if something actually tries to malloc...
You could also try to replace the problematic string functions with your own simple function to compare the chars.

Cheers, Felix

P.S. You really do not want to try to convert NMEA to UBX first in order to parse that on the LPC!


On Thu, Oct 22, 2015 at 9:10 PM, Refik Sever <address@hidden> wrote:

Hi,

 

 

We want to use a spare NMEA GPS in our umarim autopilot. I read that the NMEA protocol is not supported by LPC series.

 

We can use a different microcontroller to convert NMEA packages to UBX. I think that we don't have to convert all the packages. Is it OK if we convert only the coordinates and the variable showing 3D fix?

 

The coordinate units are also different. NMEA uses "degree+minutes", and UBX uses "degree".  We also have to convert cm->m.

 

Do you have a suggestion for using NMEA in LPC series?

 

Cheers,

Refik




Avast logo

Bu e-posta virüslere karşı Avast antivirüs yazılımı tarafından kontrol edilmiştir.
www.avast.com



_______________________________________________
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]