mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-06 19:00:27 +08:00
Rover's SYSID_THISMAV moved out of the vehicle var_info and into the GCS library as MAV_SYSID, leaving the "// SYSID_THISMAV was here" tombstone in Parameters.cpp. That took the last consumer of this define with it, and MAV_SYSTEM_ID has not been expanded anywhere since. Note this define is dead in the same way in the other vehicle directories and in AP_Periph, where it is likewise defined and never used. Only the Rover copy is touched here to keep this PR to one vehicle. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
51 lines
1.3 KiB
C
51 lines
1.3 KiB
C
#pragma once
|
|
|
|
#include "defines.h"
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
// MODE
|
|
// MODE_CHANNEL
|
|
//
|
|
#ifndef MODE_CHANNEL
|
|
#define MODE_CHANNEL 8
|
|
#endif
|
|
#if (MODE_CHANNEL != 5) && (MODE_CHANNEL != 6) && (MODE_CHANNEL != 7) && (MODE_CHANNEL != 8)
|
|
#error XXX
|
|
#error XXX You must set MODE_CHANNEL to 5, 6, 7 or 8
|
|
#error XXX
|
|
#endif
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
// CRUISE_SPEED default
|
|
//
|
|
#ifndef CRUISE_SPEED
|
|
#define CRUISE_SPEED 2 // in m/s
|
|
#endif
|
|
|
|
#define DEFAULT_LOG_BITMASK 0xffff
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
// Dock mode - allows vehicle to dock to a docking target
|
|
#ifndef MODE_DOCK_ENABLED
|
|
# define MODE_DOCK_ENABLED AC_PRECLAND_ENABLED
|
|
#endif
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
// Follow mode - allows vehicle to follow target
|
|
#ifndef MODE_FOLLOW_ENABLED
|
|
# define MODE_FOLLOW_ENABLED AP_FOLLOW_ENABLED
|
|
#endif
|
|
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
// Developer Items
|
|
//
|
|
|
|
#ifndef AP_ROVER_ADVANCED_FAILSAFE_ENABLED
|
|
#define AP_ROVER_ADVANCED_FAILSAFE_ENABLED 0
|
|
#endif
|
|
|
|
#ifndef AP_ROVER_AUTO_ARM_ONCE_ENABLED
|
|
#define AP_ROVER_AUTO_ARM_ONCE_ENABLED 1
|
|
#endif
|