#pragma once12#include "defines.h"34#ifndef MAV_SYSTEM_ID5#define MAV_SYSTEM_ID 16#endif78//////////////////////////////////////////////////////////////////////////////9// FrSky telemetry support10//1112#ifndef CH7_OPTION13#define CH7_OPTION CH7_SAVE_WP14#endif1516//////////////////////////////////////////////////////////////////////////////17// MODE18// MODE_CHANNEL19//20#ifndef MODE_CHANNEL21#define MODE_CHANNEL 822#endif23#if (MODE_CHANNEL != 5) && (MODE_CHANNEL != 6) && (MODE_CHANNEL != 7) && (MODE_CHANNEL != 8)24#error XXX25#error XXX You must set MODE_CHANNEL to 5, 6, 7 or 826#error XXX27#endif2829//////////////////////////////////////////////////////////////////////////////30// NAVL131//32#ifndef NAVL133#define NAVL1_PERIOD 834#endif3536//////////////////////////////////////////////////////////////////////////////37// CRUISE_SPEED default38//39#ifndef CRUISE_SPEED40#define CRUISE_SPEED 2 // in m/s41#endif4243#define DEFAULT_LOG_BITMASK 0xffff4445//////////////////////////////////////////////////////////////////////////////46// Dock mode - allows vehicle to dock to a docking target47#ifndef MODE_DOCK_ENABLED48# define MODE_DOCK_ENABLED AC_PRECLAND_ENABLED49#endif5051//////////////////////////////////////////////////////////////////////////////52// Follow mode - allows vehicle to follow target53#ifndef MODE_FOLLOW_ENABLED54# define MODE_FOLLOW_ENABLED AP_FOLLOW_ENABLED55#endif565758//////////////////////////////////////////////////////////////////////////////59// Developer Items60//6162// if RESET_SWITCH_CH is not zero, then this is the PWM value on63// that channel where we reset the control mode to the current switch64// position (to for example return to switched mode after failsafe or65// fence breach)66#ifndef RESET_SWITCH_CHAN_PWM67#define RESET_SWITCH_CHAN_PWM 175068#endif6970#ifndef AP_ROVER_ADVANCED_FAILSAFE_ENABLED71#define AP_ROVER_ADVANCED_FAILSAFE_ENABLED 072#endif7374#ifndef AP_ROVER_AUTO_ARM_ONCE_ENABLED75#define AP_ROVER_AUTO_ARM_ONCE_ENABLED 176#endif777879