Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Path: blob/master/Rover/config.h
Views: 1798
#pragma once12#include "defines.h"34#ifndef MAV_SYSTEM_ID5#define MAV_SYSTEM_ID 16#endif78#ifndef ARM_DELAY_MS9#define ARM_DELAY_MS 200010#endif1112//////////////////////////////////////////////////////////////////////////////13// FrSky telemetry support14//1516#ifndef CH7_OPTION17#define CH7_OPTION CH7_SAVE_WP18#endif1920//////////////////////////////////////////////////////////////////////////////21// MODE22// MODE_CHANNEL23//24#ifndef MODE_CHANNEL25#define MODE_CHANNEL 826#endif27#if (MODE_CHANNEL != 5) && (MODE_CHANNEL != 6) && (MODE_CHANNEL != 7) && (MODE_CHANNEL != 8)28#error XXX29#error XXX You must set MODE_CHANNEL to 5, 6, 7 or 830#error XXX31#endif3233//////////////////////////////////////////////////////////////////////////////34// NAVL135//36#ifndef NAVL137#define NAVL1_PERIOD 838#endif3940//////////////////////////////////////////////////////////////////////////////41// CRUISE_SPEED default42//43#ifndef CRUISE_SPEED44#define CRUISE_SPEED 2 // in m/s45#endif4647#define DEFAULT_LOG_BITMASK 0xffff4849//////////////////////////////////////////////////////////////////////////////50// Dock mode - allows vehicle to dock to a docking target51#ifndef MODE_DOCK_ENABLED52# define MODE_DOCK_ENABLED AC_PRECLAND_ENABLED53#endif5455//////////////////////////////////////////////////////////////////////////////56// Follow mode - allows vehicle to follow target57#ifndef MODE_FOLLOW_ENABLED58# define MODE_FOLLOW_ENABLED AP_FOLLOW_ENABLED59#endif606162//////////////////////////////////////////////////////////////////////////////63// Developer Items64//6566// if RESET_SWITCH_CH is not zero, then this is the PWM value on67// that channel where we reset the control mode to the current switch68// position (to for example return to switched mode after failsafe or69// fence breach)70#ifndef RESET_SWITCH_CHAN_PWM71#define RESET_SWITCH_CHAN_PWM 175072#endif7374#ifndef AP_ROVER_ADVANCED_FAILSAFE_ENABLED75#define AP_ROVER_ADVANCED_FAILSAFE_ENABLED 076#endif777879