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.
Don Gagne's avatar
Don Gagne committed
15
#define QGC_SETTINGS_VERSION 2
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 22 23 24 25
#define QGC_APPLICATION_VERSION_MAJOR 2
#define QGC_APPLICATION_VERSION_MINOR 1

// 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 35 36
#ifndef QGC_APPLICATION_VERSION_BUILDNUMBER
#define QGC_APPLICATION_VERSION_BUILDNUMBER 0
#endif

#ifndef QGC_APPLICATION_VERSION_BUILDTYPE
#define QGC_APPLICATION_VERSION_BUILDTYPE "(Developer Build)"
#endif
lm's avatar
lm committed
37

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