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 committed by rmackay9
parent 76f032160c
commit fef7569dee
2 changed files with 7 additions and 3 deletions

View File

@ -65,6 +65,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

@ -718,7 +718,7 @@
// LOITER Mode
// Optical Flow LOITER Mode
#ifndef OF_LOITER_YAW
# define OF_LOITER_YAW YAW_HOLD
#endif
@ -890,6 +890,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