Skip to content
Snippets Groups Projects
QGCConfig.h 1.13 KiB
Newer Older
  • Learn to ignore specific revisions
  • lm's avatar
    lm committed
    #ifndef QGC_CONFIGURATION_H
    #define QGC_CONFIGURATION_H
    
    pixhawk's avatar
    pixhawk committed
    
    
    pixhawk's avatar
    pixhawk committed
    /** @brief Polling interval in ms */
    
    #define SERIAL_POLL_INTERVAL 4
    
    pixhawk's avatar
    pixhawk committed
    
    /** @brief Heartbeat emission rate, in Hertz (times per second) */
    #define MAVLINK_HEARTBEAT_DEFAULT_RATE 1
    #define WITH_TEXT_TO_SPEECH 1
    
    
    // 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 6
    
    lm's avatar
    lm committed
    #define QGC_APPLICATION_NAME "QGroundControl"
    
    Don Gagne's avatar
    Don Gagne committed
    #define QGC_ORG_NAME "QGroundControl.org"
    #define QGC_ORG_DOMAIN "org.qgroundcontrol"
    
    Don Gagne's avatar
    Don Gagne committed
    #define QGC_APPLICATION_VERSION_MAJOR 2
    
    Don Gagne's avatar
    Don Gagne committed
    #define QGC_APPLICATION_VERSION_MINOR 6
    
    Don Gagne's avatar
    Don Gagne committed
    
    // The following #definess can be overriden from the command line so that automated build systems can
    // add additional build identification.
    
    Don Gagne's avatar
    Don Gagne committed
    // Only comes from command line
    //#define QGC_APPLICATION_VERSION_COMMIT "..."
    
    Don Gagne's avatar
    Don Gagne committed
    #ifndef QGC_APPLICATION_VERSION_BUILDNUMBER
    
    Don Gagne's avatar
    Don Gagne committed
    #define QGC_APPLICATION_VERSION_BUILDNUMBER 0
    
    Don Gagne's avatar
    Don Gagne committed
    #endif
    
    #ifndef QGC_APPLICATION_VERSION_BUILDTYPE
    
    Don Gagne's avatar
    Don Gagne committed
    #define QGC_APPLICATION_VERSION_BUILDTYPE "(Development)"
    
    Don Gagne's avatar
    Don Gagne committed
    #endif
    
    lm's avatar
    lm committed
    
    
    lm's avatar
    lm committed
    #endif // QGC_CONFIGURATION_H