Paparazzi UAS  v4.0.4_stable-3-gf39211a
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
gps_skytraq.c File Reference
#include "subsystems/gps.h"
#include "led.h"
+ Include dependency graph for gps_skytraq.c:

Go to the source code of this file.

Macros

#define UNINIT   0
 
#define GOT_SYNC1   1
 
#define GOT_SYNC2   2
 
#define GOT_LEN1   3
 
#define GOT_LEN2   4
 
#define GOT_ID   5
 
#define GOT_PAYLOAD   6
 
#define GOT_CHECKSUM   7
 
#define GOT_SYNC3   8
 
#define SKYTRAQ_FIX_NONE   0x00
 
#define SKYTRAQ_FIX_2D   0x01
 
#define SKYTRAQ_FIX_3D   0x02
 
#define SKYTRAQ_FIX_3D_DGPS   0x03
 

Functions

void gps_impl_init (void)
 
void gps_skytraq_read_message (void)
 
void gps_skytraq_parse (uint8_t c)
 

Variables

struct GpsSkytraq gps_skytraq
 

Macro Definition Documentation

#define GOT_CHECKSUM   7

Definition at line 41 of file gps_skytraq.c.

Referenced by gps_skytraq_parse().

#define GOT_ID   5

Definition at line 39 of file gps_skytraq.c.

Referenced by gps_skytraq_parse().

#define GOT_LEN1   3

Definition at line 37 of file gps_skytraq.c.

Referenced by gps_skytraq_parse().

#define GOT_LEN2   4

Definition at line 38 of file gps_skytraq.c.

Referenced by gps_skytraq_parse().

#define GOT_PAYLOAD   6

Definition at line 40 of file gps_skytraq.c.

Referenced by gps_skytraq_parse().

#define GOT_SYNC1   1

Definition at line 35 of file gps_skytraq.c.

Referenced by gps_skytraq_parse().

#define GOT_SYNC2   2

Definition at line 36 of file gps_skytraq.c.

Referenced by gps_skytraq_parse().

#define GOT_SYNC3   8

Definition at line 42 of file gps_skytraq.c.

Referenced by gps_skytraq_parse().

#define SKYTRAQ_FIX_2D   0x01

Definition at line 45 of file gps_skytraq.c.

Referenced by gps_skytraq_read_message().

#define SKYTRAQ_FIX_3D   0x02

Definition at line 46 of file gps_skytraq.c.

Referenced by gps_skytraq_read_message().

#define SKYTRAQ_FIX_3D_DGPS   0x03

Definition at line 47 of file gps_skytraq.c.

Referenced by gps_skytraq_read_message().

#define SKYTRAQ_FIX_NONE   0x00

Definition at line 44 of file gps_skytraq.c.

#define UNINIT   0

Definition at line 34 of file gps_skytraq.c.

Referenced by gps_impl_init(), and gps_skytraq_parse().

Function Documentation

void gps_impl_init ( void  )

Definition at line 51 of file gps_skytraq.c.

References gps_skytraq, GpsSkytraq::status, and UNINIT.

Variable Documentation

struct GpsSkytraq gps_skytraq

Definition at line 31 of file gps_skytraq.c.

Referenced by gps_impl_init(), gps_skytraq_parse(), and gps_skytraq_read_message().