paparazzi-devel
[Top][All Lists]
Advanced

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

Re: [Paparazzi-devel] Skytraq GPS - error compiling


From: Felix Ruess
Subject: Re: [Paparazzi-devel] Skytraq GPS - error compiling
Date: Fri, 2 Mar 2012 12:08:35 +0100

Hi Eduardo,

I guess you will have to debug this yourself... or someone else who has an actual skytraq gps.

Did you mean the led on the autopilot? It should blink when a message is received and stay on if you have a 3d fix.
Have a look at the code in sw/airborne/gps/gps_skytraq.c
And directly look at what you get in the gps message, as it has more information than just the position and fix that you can (immediately) see in the GCS.

Cheers, Felix

On Fri, Mar 2, 2012 at 3:50 AM, Eduardo lavratti <address@hidden> wrote:
Felix, i configured the baud rate in airframe file.
The gps lock led turn on but ppz not show any coordinate nor gps LOCk in GCS.



Date: Thu, 1 Mar 2012 13:11:35 +0100
From: address@hidden
To: address@hidden
Subject: Re: [Paparazzi-devel] Skytraq GPS - error compiling


Hi Eduardo,

Did you get any actual errors? You "only" posted warnings...
I don't have one, so I can't really tell if it works or not despite the warnings.

Binary mode probably is correct, but if you set the baud rate to 57600 on your gps, you have to configure that in your subsystem:
<subsystem name="gps" type="skytraq">
  <configure name="GPS_BAUD" value="B57600"/>
</subsystem>

Just like for the other gps the default baud rate (on the paparazzi side) is 38400.

Cheers, Felix

On Sat, Feb 25, 2012 at 10:35 PM, Eduardo lavratti <address@hidden> wrote:
Anyone using skytraq Venus GPS with twog ?

when i compile this error occour:
subsystems/gps/gps_skytraq.c: In function 'gps_skytraq_read_message':
subsystems/gps/gps_skytraq.c:55: warning: cast increases required alignment of target type
subsystems/gps/gps_skytraq.c:56: warning: cast increases required alignment of target type
subsystems/gps/gps_skytraq.c:57: warning: cast increases required alignment of target type
subsystems/gps/gps_skytraq.c:58: warning: cast increases required alignment of target type
subsystems/gps/gps_skytraq.c:59: warning: cast increases required alignment of target type
subsystems/gps/gps_skytraq.c:60: warning: cast increases required alignment of target type
subsystems/gps/gps_skytraq.c:61: warning: cast increases required alignment of target type
subsystems/gps/gps_skytraq.c:62: warning: cast increases required alignment of target type
subsystems/gps/gps_skytraq.c:63: warning: cast increases required alignment of target type
subsystems/gps/gps_skytraq.c:64: warning: cast increases required alignment of target type
subsystems/gps/gps_skytraq.c:70: warning: cast increases required alignment of target type
subsystems/gps/gps_skytraq.c:55: warning: dereferencing pointer '({anonymous})' does break strict-aliasing rules
subsystems/gps/gps_skytraq.c:55: note: initialized from here
subsystems/gps/gps_skytraq.c:56: warning: dereferencing pointer '({anonymous})' does break strict-aliasing rules
subsystems/gps/gps_skytraq.c:56: note: initialized from here
subsystems/gps/gps_skytraq.c:57: warning: dereferencing pointer '({anonymous})' does break strict-aliasing rules
subsystems/gps/gps_skytraq.c:57: note: initialized from here
subsystems/gps/gps_skytraq.c:58: warning: dereferencing pointer '({anonymous})' does break strict-aliasing rules
subsystems/gps/gps_skytraq.c:58: note: initialized from here
subsystems/gps/gps_skytraq.c:59: warning: dereferencing pointer '({anonymous})' does break strict-aliasing rules
subsystems/gps/gps_skytraq.c:59: note: initialized from here
subsystems/gps/gps_skytraq.c:60: warning: dereferencing pointer '({anonymous})' does break strict-aliasing rules
subsystems/gps/gps_skytraq.c:60: note: initialized from here
subsystems/gps/gps_skytraq.c:61: warning: dereferencing pointer '({anonymous})' does break strict-aliasing rules
subsystems/gps/gps_skytraq.c:61: note: initialized from here
subsystems/gps/gps_skytraq.c:62: warning: dereferencing pointer '({anonymous})' does break strict-aliasing rules
subsystems/gps/gps_skytraq.c:62: note: initialized from here
subsystems/gps/gps_skytraq.c:63: warning: dereferencing pointer '({anonymous})' does break strict-aliasing rules
subsystems/gps/gps_skytraq.c:63: note: initialized from here
subsystems/gps/gps_skytraq.c:64: warning: dereferencing pointer '({anonymous})' does break strict-aliasing rules
subsystems/gps/gps_skytraq.c:64: note: initialized from here
subsystems/gps/gps_skytraq.c:70: warning: dereferencing pointer '({anonymous})' does break strict-aliasing rules
subsystems/gps/gps_skytraq.c:70: note: initialized from here

I not find any information how this GPS need to be configured so i configured for 57600, binary mode,10hz


_______________________________________________
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



reply via email to

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