QGCConfig.h 1.14 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 15 16
// 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.
#define QGC_SETTINGS_VERSION 1

lm's avatar
lm committed
17
#define QGC_APPLICATION_NAME "QGroundControl"
18 19 20 21 22 23 24
#define QGC_APPLICATION_VERSION_BASE "v2.0.3"

#ifdef QGC_APPLICATION_VERSION_SUFFIX
    #define QGC_APPLICATION_VERSION QGC_APPLICATION_VERSION_BASE QGC_APPLICATION_VERSION_SUFFIX
#else
    #define QGC_APPLICATION_VERSION QGC_APPLICATION_VERSION_BASE " (Developer Build)"
#endif
25 26 27 28

namespace QGC

{
29
const QString APPNAME = "QGROUNDCONTROL";
30 31
const QString ORG_NAME = "QGROUNDCONTROL.ORG"; //can be customized by forks to e.g. mycompany.com to maintain separate Settings for customized apps
const QString ORG_DOMAIN = "org.qgroundcontrol";//can be customized by forks
Lorenz Meier's avatar
Lorenz Meier committed
32
const int APPLICATIONVERSION = 203; // 2.0.3
33
}
lm's avatar
lm committed
34

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