PX4 Firmware
PX4 Autopilot Software http://px4.io
emlid_reach.cpp File Reference
#include "emlid_reach.h"
#include <stdio.h>
#include <math.h>
#include <string.h>
#include <ctime>
#include <cstring>
#include <errno.h>
#include <stdlib.h>
Include dependency graph for emlid_reach.cpp:

Go to the source code of this file.

Macros

#define ERB_SYNC_1   0x45
 
#define ERB_SYNC_2   0x52
 
#define ERB_ID_VERSION   0x01
 
#define ERB_ID_GEODIC_POSITION   0x02
 
#define ERB_ID_NAV_STATUS   0x03
 
#define ERB_ID_DOPS   0x04
 
#define ERB_ID_VELOCITY_NED   0x05
 
#define ERB_ID_SPACE_INFO   0x06
 
#define ERB_ID_RTK   0x07
 
#define EMLID_UNUSED(x)   (void)x;
 
#define GPS_PI   3.141592653589793238462643383280f
 
#define AUTO_DETECT_MAX_READ_SENTENCE   5
 

Detailed Description

Macro Definition Documentation

◆ AUTO_DETECT_MAX_READ_SENTENCE

#define AUTO_DETECT_MAX_READ_SENTENCE   5

Definition at line 70 of file emlid_reach.cpp.

Referenced by GPSDriverEmlidReach::testConnection().

◆ EMLID_UNUSED

#define EMLID_UNUSED (   x)    (void)x;

Definition at line 66 of file emlid_reach.cpp.

◆ ERB_ID_DOPS

#define ERB_ID_DOPS   0x04

Definition at line 60 of file emlid_reach.cpp.

Referenced by GPSDriverEmlidReach::handleErbSentence().

◆ ERB_ID_GEODIC_POSITION

#define ERB_ID_GEODIC_POSITION   0x02

Definition at line 58 of file emlid_reach.cpp.

Referenced by GPSDriverEmlidReach::handleErbSentence().

◆ ERB_ID_NAV_STATUS

#define ERB_ID_NAV_STATUS   0x03

Definition at line 59 of file emlid_reach.cpp.

Referenced by GPSDriverEmlidReach::handleErbSentence().

◆ ERB_ID_RTK

#define ERB_ID_RTK   0x07

◆ ERB_ID_SPACE_INFO

#define ERB_ID_SPACE_INFO   0x06

◆ ERB_ID_VELOCITY_NED

#define ERB_ID_VELOCITY_NED   0x05

Definition at line 61 of file emlid_reach.cpp.

Referenced by GPSDriverEmlidReach::handleErbSentence().

◆ ERB_ID_VERSION

#define ERB_ID_VERSION   0x01

◆ ERB_SYNC_1

#define ERB_SYNC_1   0x45

Definition at line 54 of file emlid_reach.cpp.

Referenced by GPSDriverEmlidReach::erbParseChar().

◆ ERB_SYNC_2

#define ERB_SYNC_2   0x52

Definition at line 55 of file emlid_reach.cpp.

Referenced by GPSDriverEmlidReach::erbParseChar().

◆ GPS_PI

#define GPS_PI   3.141592653589793238462643383280f

Definition at line 68 of file emlid_reach.cpp.

Referenced by GPSDriverEmlidReach::handleErbSentence().