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

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.
parent 381bd285
No related branches found
No related tags found
No related merge requests found
...@@ -69,6 +69,5 @@ ...@@ -69,6 +69,5 @@
//#define LOGGING_ENABLED DISABLED //#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 // #define LOITER_RP ROLL_PITCH_LOITER_PR
...@@ -658,7 +658,7 @@ ...@@ -658,7 +658,7 @@
// LOITER Mode // Optical Flow LOITER Mode
#ifndef OF_LOITER_YAW #ifndef OF_LOITER_YAW
# define OF_LOITER_YAW YAW_HOLD # define OF_LOITER_YAW YAW_HOLD
#endif #endif
...@@ -830,6 +830,11 @@ ...@@ -830,6 +830,11 @@
#ifndef LOITER_IMAX #ifndef LOITER_IMAX
# define LOITER_IMAX 30 // degrees # define LOITER_IMAX 30 // degrees
#endif #endif
// Loiter repositioning configuration (experimental)
#ifndef LOITER_REPOSITIONING
# define LOITER_REPOSITIONING DISABLED
#endif
#ifndef LOITER_REPOSITION_RATE #ifndef LOITER_REPOSITION_RATE
# define LOITER_REPOSITION_RATE 500.0 // cm/s # define LOITER_REPOSITION_RATE 500.0 // cm/s
#endif #endif
......
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