Thank you for your help Felix et Stephen, it works great now. De : address@hidden [mailto:address@hidden De la part de Felix Ruess Envoyé : jeudi 6 septembre 2012 22:37 À : address@hidden Objet : Re: [Paparazzi-devel] HELP telemetry message with long and lat Hi Cedric, thx for pointing out that there is an error in the GPS_LLA message. Was added once for debugging and not really used since... Regarding zeros in the messages, what gps subsystem are you using and if it is a ublox, how is your GPS configured? As Stephen pointed out, the ublox GPS needs to be configured to send the UBX_NAV_POSLLH message if you want lat/lon. Also the state interface won't help here.... Cheers, Felix On Thu, Sep 6, 2012 at 10:06 PM, Stephen Dwyer <address@hidden> wrote: Hi Cedric,
I *think* that unless the GPS is sending the correct message (LLH Position message, check ublox manual), then the LLH data is not updated beyond the initialization value of 0. So you would probably have to add some code or modify the gps configuration to send that messsage. The new state interface in master branch might make this much easier (haven't looked at the code yet).
Is there a particular reason you need to send lat-long, as opposed to UTM data, which can easily be converted afterwards?
Sorry I couldn't be of more help (and I might be wrong).
Thanks, -Stephen Dwyer On Thu, Sep 6, 2012 at 1:47 PM, Cedric Marzer <address@hidden> wrote: > So nobody had a clue that would help me ? > > > Le 5 sept. 2012 à 23:18, Cedric Marzer a écrit : > >> Hi all, >> I have been trying to downlink the gps longitude and latitude but without success so far (for fixed wing). >> I have been trying to use the gps_lla and the gps_int messages but the longitude and latitude I get are all zeros. >> (btw there is a bug in the ap_downlink.h for the gps_lla message with a line copied twice that needs to be removed). >> I have been trying to add USE_GPS in the airframe file but that didn't help… >> Do you have any idea how to have that working ? >> Thanks in advance. >> Cédric >> _______________________________________________ >> 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 >
_______________________________________________ Paparazzi-devel mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/paparazzi-devel
|