Skip to content
Snippets Groups Projects
Commit 1266a316 authored by Randy Mackay's avatar Randy Mackay
Browse files

Rally: reduce distance limit to 300m for copter

This reduces the chance that a forgotten rally point will cause the
vehicle to RTL to a distant location because instead it will RTL to
home.
parent 152a3a28
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ StorageAccess AP_Rally::_storage(StorageManager::StorageRally); ...@@ -13,7 +13,7 @@ StorageAccess AP_Rally::_storage(StorageManager::StorageRally);
// ArduCopter/defines.h sets this, and this definition will be moved into ArduPlane/defines.h when that is patched to use the lib // ArduCopter/defines.h sets this, and this definition will be moved into ArduPlane/defines.h when that is patched to use the lib
#ifdef APM_BUILD_DIRECTORY #ifdef APM_BUILD_DIRECTORY
#if APM_BUILD_TYPE(APM_BUILD_ArduCopter) #if APM_BUILD_TYPE(APM_BUILD_ArduCopter)
#define RALLY_LIMIT_KM_DEFAULT 2.0 #define RALLY_LIMIT_KM_DEFAULT 0.3
#elif APM_BUILD_TYPE(APM_BUILD_ArduPlane) #elif APM_BUILD_TYPE(APM_BUILD_ArduPlane)
#define RALLY_LIMIT_KM_DEFAULT 5.0 #define RALLY_LIMIT_KM_DEFAULT 5.0
#elif APM_BUILD_TYPE(APM_BUILD_APMrover2) #elif APM_BUILD_TYPE(APM_BUILD_APMrover2)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment