Copter: added experimental LOITER_REPOSITIONING #define to config.h

APM_Config.h should be used to overriding the standard parameters but
they still require a definition in config.h or they will be undefined
when built by the mission planner.
This commit is contained in:
Randy Mackay 2013-01-14 13:07:52 +09:00
parent 381bd28518
commit 0830eaf363
2 changed files with 7 additions and 3 deletions

View File

@ -69,6 +69,5 @@
//#define LOGGING_ENABLED DISABLED
#define LOITER_REPOSITIONING DISABLED // Experimental Do Not Use
// #define LOITER_REPOSITIONING ENABLED // Experimental Do Not Use
// #define LOITER_RP ROLL_PITCH_LOITER_PR

View File

@ -658,7 +658,7 @@
// LOITER Mode
// Optical Flow LOITER Mode
#ifndef OF_LOITER_YAW
# define OF_LOITER_YAW YAW_HOLD
#endif
@ -830,6 +830,11 @@
#ifndef LOITER_IMAX
# define LOITER_IMAX 30 // degrees
#endif
// Loiter repositioning configuration (experimental)
#ifndef LOITER_REPOSITIONING
# define LOITER_REPOSITIONING DISABLED
#endif
#ifndef LOITER_REPOSITION_RATE
# define LOITER_REPOSITION_RATE 500.0 // cm/s
#endif