QGCConfig.h 1.12 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 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
#define QGC_APPLICATION_VERSION_MAJOR 2
#define QGC_APPLICATION_VERSION_MINOR 7

// 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
#define QGC_APPLICATION_VERSION_BUILDNUMBER 1
#endif

#ifndef QGC_APPLICATION_VERSION_BUILDTYPE
#define QGC_APPLICATION_VERSION_BUILDTYPE "(Stable)"
#endif

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