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