AppCore
Loading...
Searching...
No Matches
Macros
ds_gps.cpp File Reference
#include "ds_gps.h"
#include "ds_event.h"
#include "DispatchingModuleManager.h"
#include "ds_gpstimer.h"
#include <stdlib.h>
#include "core/log/emlog.h"
#include <math.h>
#include "core/xml/EXMLConfig.h"
#include "core/xml/EXMLNode.h"
#include "core/xml/EXMLAttrib.h"
Include dependency graph for ds_gps.cpp:

Macros

#define __USE_LOG__
 
#define DS_GPS_MODE_ALONE   0
 GPS is alone (not sending position information when events are enabled)
 
#define DS_GPS_MODE_DEPENDENT   1
 GPS depends on events (sending position information in event messages when events are enabled)
 
#define DS_GPS_RESOLUTION_TIME   0
 send in time period
 
#define DS_GPS_RESOLUTION_DISTANCE   1
 send when some distance has been reached from last send
 
#define DS_GPS_RESOLUTION_BOTH   2
 send when time expired or distance has been reached
 
#define DS_GPS_SPEED_LIMIT   3
 default speed limit
 
#define DS_GPS_STROBE_TIME   1000
 strobing frequency in ms
 

Macro Definition Documentation

◆ __USE_LOG__

#define __USE_LOG__

◆ DS_GPS_MODE_ALONE

#define DS_GPS_MODE_ALONE   0

GPS is alone (not sending position information when events are enabled)

◆ DS_GPS_MODE_DEPENDENT

#define DS_GPS_MODE_DEPENDENT   1

GPS depends on events (sending position information in event messages when events are enabled)

◆ DS_GPS_RESOLUTION_BOTH

#define DS_GPS_RESOLUTION_BOTH   2

send when time expired or distance has been reached

◆ DS_GPS_RESOLUTION_DISTANCE

#define DS_GPS_RESOLUTION_DISTANCE   1

send when some distance has been reached from last send

◆ DS_GPS_RESOLUTION_TIME

#define DS_GPS_RESOLUTION_TIME   0

send in time period

◆ DS_GPS_SPEED_LIMIT

#define DS_GPS_SPEED_LIMIT   3

default speed limit

◆ DS_GPS_STROBE_TIME

#define DS_GPS_STROBE_TIME   1000

strobing frequency in ms