QGCConfig.h 974 Bytes
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

lm's avatar
lm committed
13
#define QGC_APPLICATION_NAME "QGroundControl"
14 15 16 17 18 19 20
#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
21 22 23 24

namespace QGC

{
25
const QString APPNAME = "QGROUNDCONTROL";
26 27
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
28
const int APPLICATIONVERSION = 203; // 2.0.3
29
}
lm's avatar
lm committed
30

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