paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] GPS 3D lock - but coordinates all zero


From: Felix Ruess
Subject: Re: [Paparazzi-devel] GPS 3D lock - but coordinates all zero
Date: Wed, 12 Mar 2014 23:56:47 +0100

Hi Simon,

this slight mis-use of the DEBUG_GPS_UBX_UCENTER was introduced with https://github.com/paparazzi/paparazzi/pull/653.
It works for the AR Drone (as it is running linux and has printf support). Made a separate PRINT_DEBUG_GPS_UBX_UCENTER flag for that now in master.
So you should be able to use the DEBUG_GPS_UBX_UCENTER flag again which will send some debug messages with replies of the ublox (like baudrate, version).
But not sure if that will help you...

Cheers, Felix


On Wed, Mar 12, 2014 at 11:29 PM, Simon Liebold <address@hidden> wrote:
Hi Felix,

With the gps_ubx_ucenter module the GPS works again as expected. That proves that the setup was messed up (I did that). I will try to set up the same using the ucenter application. Just for the fun of it.

This page in the wiki lists the parameter DEBUG_GPS_UBX_UCENTER. But if I try to use it I get compilation errors like

modules/gps/gps_ubx_ucenter.c:107:9: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'uint32_t' [-Wformat]

It is not mentioned in conf/modules/gps_ubx_ucenter.xml. Deprecated?

    105 #if DEBUG_GPS_UBX_UCENTER
    106       if (gps_ubx_ucenter.baud_init > 0) {
    107         DEBUG_PRINT("Initial ublox baudrate found: %u\n", gps_ubx_ucenter.baud_init);
    108       }
    109       else {
    110         DEBUG_PRINT("WARNING: Unable to determine the ublox baudrate. Autoconfiguration is unlikely to work.\n");
    111       }
    112 #endif

Now, I just need to repair the crack in the vertical stabilizer and I'm back in the air. :-D

Simon


Am 12.03.2014 09:23, schrieb Prof. Dr.-Ing. Heinrich Warmers:
Hi Simon, Hi Felix,
this is the same situation (messages) as i got in september 2013.
A easy way to prove is to use a smart  phone with GPS an to look at the  co-ordinates.
I think the " UTM"  grid  (POSUTM   POSLLH) was not set in the gps module.
You can use the ublox center to prove the messages  messages view->ubx->naviation
Look to the wiki for the correct settings.
http://wiki.paparazziuav.org/wiki/GPS
After using the config module of Version 4.03 i got the right setting.
There can be also a buck in the new subsystem GPS module.
Heinrich

Felix Ruess schrieb:
Hi Simon,

this is strange indeed...
you could also try to let the gps_ubx_ucenter module configure the gps for you and check if you still get the same problem...

Cheers, Felix




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