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

Don Gagne's avatar
Don Gagne committed
21
#define QGC_APPLICATION_VERSION_MAJOR 2
Don Gagne's avatar
Don Gagne committed
22
#define QGC_APPLICATION_VERSION_MINOR 6
Don Gagne's avatar
Don Gagne committed
23 24 25

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

Don Gagne's avatar
Don Gagne committed
27 28
// Only comes from command line
//#define QGC_APPLICATION_VERSION_COMMIT "..."
29

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

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

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