QGCConfig.h 1.13 KB
Newer Older
lm's avatar
lm committed
1 2
#ifndef QGC_CONFIGURATION_H
#define QGC_CONFIGURATION_H
pixhawk's avatar
pixhawk committed
3

4
#include <QString>
5

pixhawk's avatar
pixhawk committed
6
/** @brief Polling interval in ms */
7
#define SERIAL_POLL_INTERVAL 4
pixhawk's avatar
pixhawk committed
8 9 10 11 12

/** @brief Heartbeat emission rate, in Hertz (times per second) */
#define MAVLINK_HEARTBEAT_DEFAULT_RATE 1
#define WITH_TEXT_TO_SPEECH 1

13 14
// If you need to make an incompatible changes to stored settings, bump this version number
// up by 1. This will caused store settings to be cleared on next boot.
15
#define QGC_SETTINGS_VERSION 6
16

lm's avatar
lm committed
17
#define QGC_APPLICATION_NAME "QGroundControl"
Don Gagne's avatar
Don Gagne committed
18 19
#define QGC_ORG_NAME "QGroundControl.org"
#define QGC_ORG_DOMAIN "org.qgroundcontrol"
20

21
#define QGC_APPLICATION_VERSION_MAJOR 2
Don Gagne's avatar
Don Gagne committed
22
#define QGC_APPLICATION_VERSION_MINOR 8
23 24 25 26 27 28 29 30

// The following #definess can be overriden from the command line so that automated build systems can
// add additional build identification.

// Only comes from command line
//#define QGC_APPLICATION_VERSION_COMMIT "..."

#ifndef QGC_APPLICATION_VERSION_BUILDNUMBER
Don Gagne's avatar
Don Gagne committed
31
#define QGC_APPLICATION_VERSION_BUILDNUMBER 0
32 33 34
#endif

#ifndef QGC_APPLICATION_VERSION_BUILDTYPE
Don Gagne's avatar
Don Gagne committed
35
#define QGC_APPLICATION_VERSION_BUILDTYPE "(Development)"
36 37
#endif

lm's avatar
lm committed
38
#endif // QGC_CONFIGURATION_H