mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-05 23:48:31 -04:00
a7a4f999e3
new Loiter PIDs tuned down control on standard frame shunk the mixing range for sonar from 3 meters to 2 meters added framework for Guided mode - not tested! removed pitch and roll deadzone decoupled SIMPLE mode from LOITER PIDs Synced Mavlink with APM Logs report correct WP number now. disabled Sonar spike filter. git-svn-id: https://arducopter.googlecode.com/svn/trunk@2722 f9c3cf11-9bcb-44bc-f272-b75c42450872
54 lines
1.0 KiB
C
54 lines
1.0 KiB
C
// Example config file. Take a look at confi.h. Any term define there can be overridden by defining it here.
|
|
|
|
// GPS is auto-selected
|
|
|
|
//#define MAG_ORIENTATION AP_COMPASS_COMPONENTS_DOWN_PINS_FORWARD
|
|
|
|
|
|
#define BROKEN_SLIDER 0 // 1 = yes (use Yaw to enter CLI mode)
|
|
|
|
#define FRAME_CONFIG QUAD_FRAME
|
|
/*
|
|
options:
|
|
QUAD_FRAME
|
|
TRI_FRAME
|
|
HEXA_FRAME
|
|
Y6_FRAME
|
|
OCTA_FRAME
|
|
HELI_FRAME
|
|
*/
|
|
|
|
#define FRAME_ORIENTATION X_FRAME
|
|
/*
|
|
PLUS_FRAME
|
|
X_FRAME
|
|
V_FRAME
|
|
*/
|
|
|
|
|
|
#define CHANNEL_6_TUNING CH6_NONE
|
|
/*
|
|
CH6_NONE
|
|
CH6_STABLIZE_KP
|
|
CH6_STABLIZE_KD
|
|
CH6_BARO_KP
|
|
CH6_BARO_KD
|
|
CH6_SONAR_KP
|
|
CH6_SONAR_KD
|
|
CH6_Y6_SCALING
|
|
*/
|
|
|
|
//#define ACRO_RATE_TRIGGER 4200
|
|
// if you want full ACRO mode, set value to 0
|
|
// if you want mostly stabilize with flips, set value to 4200
|
|
|
|
//#define STABILIZE_ROLL_D 0.11
|
|
//#define STABILIZE_PITCH_D 0.11
|
|
|
|
|
|
// experimental!!
|
|
// Yaw is controled by targeting home. you will not have Yaw override.
|
|
// flying too close to home may induce spins.
|
|
#define SIMPLE_LOOK_AT_HOME 0
|
|
#define DYNAMIC_DRIFT 0 // careful!!! 0 = off, 1 = on
|