Skip to content

Commit

Permalink
FEATURE: Add Chimera7 template from Andy Piper
Browse files Browse the repository at this point in the history
  • Loading branch information
amilcarlucas committed Jun 11, 2024
1 parent 2982615 commit c04a5c5
Show file tree
Hide file tree
Showing 53 changed files with 33,666 additions and 0 deletions.
1,323 changes: 1,323 additions & 0 deletions vehicle_templates/ArduCopter/Chimera7/00_default.param

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
INS_LOG_BAT_MASK,3 # the Matek H743 fligth controller only has two IMUs
INS_TCAL1_ENABLE,2 # Activates the temperature calibration for IMU 1 at the next start
INS_TCAL1_TMAX,70.26159 # our H7 processor acts as a heater and heats up the board to almost 60 deg
INS_TCAL2_ENABLE,2 # Activates the temperature calibration for IMU 2 at the next start
INS_TCAL2_TMAX,70.18773 # our H7 processor acts as a heater and heats up the board to almost 60 deg
LOG_BITMASK,524416 # Only for IMU and Raw-IMU
LOG_DISARMED,1 # Gather data for the offline IMU temperature compensation while the FC is disarmed
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
INS_TCAL1_ACC1_X,1301.73
INS_TCAL1_ACC1_Y,-276.2358
INS_TCAL1_ACC1_Z,4492.894
INS_TCAL1_ACC2_X,19.39734
INS_TCAL1_ACC2_Y,1.782293
INS_TCAL1_ACC2_Z,-69.32477
INS_TCAL1_ACC3_X,-0.646388
INS_TCAL1_ACC3_Y,-0.142052
INS_TCAL1_ACC3_Z,2.963306
INS_TCAL1_ENABLE,1
INS_TCAL1_GYR1_X,-239.7246
INS_TCAL1_GYR1_Y,-302.2407
INS_TCAL1_GYR1_Z,-103.5054
INS_TCAL1_GYR2_X,-2.415107
INS_TCAL1_GYR2_Y,1.089208
INS_TCAL1_GYR2_Z,0.691893
INS_TCAL1_GYR3_X,0.062659
INS_TCAL1_GYR3_Y,-0.033855
INS_TCAL1_GYR3_Z,-0.011577
INS_TCAL1_TMAX,70.26159
INS_TCAL1_TMIN,17.49131
INS_TCAL2_ACC1_X,-308.3346
INS_TCAL2_ACC1_Y,-620.4757
INS_TCAL2_ACC1_Z,-15680.76
INS_TCAL2_ACC2_X,69.64597
INS_TCAL2_ACC2_Y,-21.53812
INS_TCAL2_ACC2_Z,472.3932
INS_TCAL2_ACC3_X,-1.46597
INS_TCAL2_ACC3_Y,0.425834
INS_TCAL2_ACC3_Z,-9.924999
INS_TCAL2_ENABLE,1
INS_TCAL2_GYR1_X,272.443
INS_TCAL2_GYR1_Y,202.5067
INS_TCAL2_GYR1_Z,335.5682
INS_TCAL2_GYR2_X,-1.385494
INS_TCAL2_GYR2_Y,2.986213
INS_TCAL2_GYR2_Z,1.42038
INS_TCAL2_GYR3_X,0.014377
INS_TCAL2_GYR3_Y,0.053868
INS_TCAL2_GYR3_Z,-0.014967
INS_TCAL2_TMAX,70.18773
INS_TCAL2_TMIN,19.41754
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
AHRS_ORIENTATION,0 # Point forward in the direction of travel
LOG_DISARMED,0 # Log disarmed was only required for offline IMU temperature calibration
10 changes: 10 additions & 0 deletions vehicle_templates/ArduCopter/Chimera7/05_remote_controller.param
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
ARMING_RUDDER,2
BRD_ALT_CONFIG,0
RC_OPTIONS,288 # Enables Crossfire Telemetry
RC_PROTOCOLS,1 # Selected in the component editor
RC6_OPTION,0
RC7_OPTION,0
RC8_OPTION,4
RC9_OPTION,31 # "Motor Emergency Stop", stops all motors immediately at a high signal
RSSI_TYPE,3 # TBS Crossfire protocol provides RSSI
SERIAL1_PROTOCOL,23 # Specifies the serial port 1 as RC-Input
1 change: 1 addition & 0 deletions vehicle_templates/ArduCopter/Chimera7/06_telemetry.param
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
SERIAL4_BAUD,115 # The MAVLink telemetry
34 changes: 34 additions & 0 deletions vehicle_templates/ArduCopter/Chimera7/07_esc.param
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
ATC_RAT_PIT_SMAX,0 # limit the slew rate to prevent possible ESC desync - https://ardupilot.org/copter/docs/common-servo-limit-cycle-detection.html
ATC_RAT_RLL_SMAX,0 # limit the slew rate to prevent possible ESC desync - https://ardupilot.org/copter/docs/common-servo-limit-cycle-detection.html
ATC_RAT_YAW_SMAX,0 # limit the slew rate to prevent possible ESC desync - https://ardupilot.org/copter/docs/common-servo-limit-cycle-detection.html
MOT_HOVER_LEARN,2 # So that it can tune the throttle controller on 20_throttle_controller.param file
MOT_PWM_MAX,2000
MOT_PWM_MIN,1000
MOT_PWM_TYPE,6 # Specified in component editor window
MOT_SPOOL_TIME,0.5 # left at default because copter is small
NTF_BUZZ_TYPES,5 # the 4-in-1 ESC uses this
NTF_LED_TYPES,2305 # Built-in LED, Neopixel (Matek H743 slim v3), and DShot (4-in-1 ESC)
PSC_ACCZ_SMAX,0 # No slew rate limit on throttle controller
SERIAL5_BAUD,115 # bi-directional DShot telemetry data rate from T-Motor F55 4in1 ESC
SERIAL5_PROTOCOL,16 # bi-directional DShot telemetry pin is connected to SERIAL5
SERVO_BLH_AUTO,1 # Enables BLHeli pass-thru
SERVO_BLH_BDMASK,15 # All four of our ESC support bi-directional DShot
SERVO_BLH_POLES,14 # Specified in component editor window
SERVO_BLH_TRATE,5 # Set to a low value because the RPM telemetry uses bi-directional DShot telemetry instead of this UART telemetry
SERVO_DSHOT_ESC,1 # BLHeli32
SERVO_DSHOT_RATE,2 # Sends DShot control signals to the ESC twice per control loop
SERVO1_MAX,2000 # Use the full available 1000-2000 DShot range
SERVO1_MIN,1000 # Use the full available 1000-2000 DShot range
SERVO1_TRIM,1000 # Use the full available 1000-2000 DShot range
SERVO13_FUNCTION,120
SERVO2_MAX,2000 # Use the full available 1000-2000 DShot range
SERVO2_MIN,1000 # Use the full available 1000-2000 DShot range
SERVO2_TRIM,1000 # Use the full available 1000-2000 DShot range
SERVO3_MAX,2000 # Use the full available 1000-2000 DShot range
SERVO3_MIN,1000 # Use the full available 1000-2000 DShot range
SERVO3_TRIM,1000 # Use the full available 1000-2000 DShot range
SERVO4_MAX,2000 # Use the full available 1000-2000 DShot range
SERVO4_MIN,1000 # Use the full available 1000-2000 DShot range
SERVO4_TRIM,1000 # Use the full available 1000-2000 DShot range
TKOFF_RPM_MIN,1000 # Our motors should idle at around 1000 RPM, see https://ardupilot.org/copter/docs/tkoff-rpm-min.html
TKOFF_SLEW_TIME,2 # faster because copter is small
12 changes: 12 additions & 0 deletions vehicle_templates/ArduCopter/Chimera7/08_batt1.param
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
BATT_AMP_PERVLT,52.706 # new calibrated value for Mamba F45_128k 4in1 ESC
BATT_ARM_VOLT,23.6 # Don’t allow arming below this voltage
BATT_CAPACITY,3000 # Total battery capacity
BATT_CRT_MAH,0 # When only 0mAh out of the total 3000mAh remain, trigger critical failsafe
BATT_CRT_VOLT,21.3 # (Critical voltage + 0.0) x no. of cells
BATT_FS_CRT_ACT,1 # Land ASAP
BATT_FS_LOW_ACT,2 # Return and land at home or rally point
BATT_FS_VOLTSRC,1 # Let the firmware handle the nasty business of variable and battery dependent internal resistance
BATT_LOW_MAH,600 # When only 600mAh out of the total 3000mAh remain, trigger low failsafe
BATT_LOW_VOLT,21.6 # (Low voltage + 0.0) x no. of cells
BATT_MONITOR,4
BATT_VOLT_MULT,11 # Use a power source with a voltage close to BATT_LOW_VOLT measure with a calibrated voltimeter and adapt this parameter so that the telemetry voltage reading matches it
7 changes: 7 additions & 0 deletions vehicle_templates/ArduCopter/Chimera7/10_gnss.param
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
BRD_SAFETY_DEFLT,0 # Matek H743 Slim has no safety switch
GPS_GNSS_MODE,1 # limit the constalations to ensure an update rate higher than 5Hz
GPS_POS1_X,0 # GNSS antenna pahse center location relative to CG
GPS_POS1_Y,0 # GNSS antenna pahse center location relative to CG
GPS_POS1_Z,0 # GNSS antenna pahse center location relative to CG
GPS_TYPE,2 # Defined in component editor
SERIAL3_PROTOCOL,5 # GNSS receiver is connected to serial3
18 changes: 18 additions & 0 deletions vehicle_templates/ArduCopter/Chimera7/11_initial_atc.param
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
ATC_ACCEL_P_MAX,146100 # Derived from vehicle component editor propeller size
ATC_ACCEL_R_MAX,146100 # Derived from vehicle component editor propeller size
ATC_ACCEL_Y_MAX,29700 # Derived from vehicle component editor propeller size
ATC_ANG_YAW_P,5 # Derived from vehicle component editor propeller size
ATC_RAT_PIT_FLTD,28.5 # INS_GYRO_FILTER / 2
ATC_RAT_PIT_FLTE,0 # Initial value, will be improved at a later step
ATC_RAT_PIT_FLTT,28.5 # INS_GYRO_FILTER / 2
ATC_RAT_RLL_FLTD,28.5 # INS_GYRO_FILTER / 2
ATC_RAT_RLL_FLTE,0 # Initial value, will be improved at a later step
ATC_RAT_RLL_FLTT,28.5 # INS_GYRO_FILTER / 2
ATC_RAT_YAW_FLTD,0 # Initial value, will be improved at a later step
ATC_RAT_YAW_FLTE,2 # Initial value, will be improved at a later step
ATC_RAT_YAW_FLTT,28.5 # INS_GYRO_FILTER / 2
ATC_THR_MIX_MAN,0.1 # Value for the first couple of flights will be changed later once MOT_THST_HOVER is learned
INS_ACCEL_FILTER,10 # The default is 20Hz but that is too high in most situations
INS_GYRO_FILTER,57 # Derived from vehicle component editor propeller size
MOT_THST_EXPO,0.54 # Derived from vehicle component editor propeller size
MOT_THST_HOVER,0.2 # Hover learn will improve this initial guess
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
AHRS_TRIM_X,0.003997
AHRS_TRIM_Y,0.003987
ATC_ACCEL_P_MAX,301183.2
ATC_ACCEL_R_MAX,409403.8
ATC_ACCEL_Y_MAX,213678.7
ATC_RAT_PIT_FLTD,60 # INS_GYRO_FILTER / 2
ATC_RAT_PIT_FLTT,0 # INS_GYRO_FILTER / 2
ATC_RAT_RLL_FLTD,75 # INS_GYRO_FILTER / 2
ATC_RAT_RLL_FLTT,0 # INS_GYRO_FILTER / 2
ATC_RAT_YAW_FLTE,2.2
ATC_RAT_YAW_FLTT,0 # INS_GYRO_FILTER / 2
COMPASS_EXTERNAL,1
COMPASS_ORIENT,31
COMPASS_PRIO1_ID,855297
COMPASS_USE2,0
COMPASS_USE3,0
FENCE_ACTION,1
FENCE_ALT_MAX,100
FENCE_ENABLE,0
FENCE_RADIUS,300
FLTMODE1,1
FLTMODE2,0
FLTMODE3,0
FLTMODE4,0
FLTMODE5,2
FLTMODE6,5
FRAME_CLASS,1
FRAME_TYPE,12
INS_ACC1_CALTEMP,38.5239
INS_ACC2_CALTEMP,41.52057
INS_ACC2SCAL_X,0.999874
INS_ACC2SCAL_Y,0.998588
INS_ACC2SCAL_Z,0.982762
INS_ACC3SCAL_X,1
INS_ACC3SCAL_Y,1
INS_ACC3SCAL_Z,1
INS_ACCSCAL_X,0.997798
INS_ACCSCAL_Y,1.025593
INS_ACCSCAL_Z,0.996169
INS_GYRO_FILTER,150
INS_USE3,1
MOT_BAT_VOLT_MAX,25.2
MOT_BAT_VOLT_MIN,19.8
MOT_SPIN_ARM,0.02
MOT_SPIN_MAX,0.98
MOT_SPIN_MIN,0.06
MOT_THST_EXPO,0.62
MOT_THST_HOVER,0.12
RC1_MAX,2010
RC1_MIN,988
RC1_TRIM,1500
RC2_MAX,2010
RC2_MIN,987
RC2_TRIM,1500
RC3_MAX,2010
RC3_MIN,988
RC3_TRIM,988
RC4_MAX,2009
RC4_MIN,987
RC4_TRIM,1496
RC5_MAX,1871
RC5_MIN,1110
RC5_TRIM,1871
RC6_MAX,2010
RC6_MIN,987
RC6_TRIM,987
RC7_MAX,2010
RC7_MIN,987
RC7_TRIM,987
RC8_MAX,2010
RC8_MIN,987
RC8_TRIM,987
RC9_MAX,2010
RC9_MIN,987
RC9_TRIM,987
SERVO1_FUNCTION,33
SERVO2_FUNCTION,34
SERVO3_FUNCTION,35
SERVO4_FUNCTION,36
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
ARMING_CHECK,1 # Perform all arming checks. If you have a problem fix its source. Do NOT change this
BRD_RTC_TZ_MIN,0 # UTC time zone
FENCE_TYPE,7 # cylinder and max altitude, to obey local regulations and safety measures
INS_ACCEL_FILTER,10 # the default is 20 and that lets too much noise in
INS_POS1_X,0
INS_POS1_Y,0
INS_POS2_X,0
INS_POS2_Y,0
LAND_ALT_LOW,1000 # The default is OK
RTL_ALT,2000 # The default is too low for the kind of flights we do.
RTL_LOIT_TIME,5000 # The default is OK
SCHED_LOOP_RATE,800 # On our vehicle the propellers rotate at speeds higher than 400Hz and we have a powerful STM32 H7 family processor. So we increase this for added performance.
SCR_ENABLE,1 # Use lua scripting for VTOL-Quicktune, MagFit automation and Windspeed Estimation automation
5 changes: 5 additions & 0 deletions vehicle_templates/ArduCopter/Chimera7/14_logging.param
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
INS_LOG_BAT_MASK,3 # The Matek H743 Slim flight controller only has two IMUs
INS_LOG_BAT_OPT,4 # Logs measured data both before and after the filters for Filter Review Webtool usage
INS_RAW_LOG_OPT,9 # To get more Notch filter data
LOG_BITMASK,2242524 # Logs Notch filter data and other control signals
LOG_FILE_DSRMROT,1 # One .bin log file per flight, not per battery/reboot
4 changes: 4 additions & 0 deletions vehicle_templates/ArduCopter/Chimera7/15_motor.param
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
MOT_SPIN_ARM,0.02 # The T-Motor F55 ESCs reliably start spinning with this value
MOT_SPIN_MAX,0.98 # Upper dead zone of the T-Motor F55 ESC
MOT_SPIN_MIN,0.06 # MOT_SPIN_ARM + 0.04
MOT_THST_EXPO,0.62
10 changes: 10 additions & 0 deletions vehicle_templates/ArduCopter/Chimera7/16_pid_adjustment.param
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
ATC_INPUT_TC,0.08
ATC_RAT_PIT_D,0.00174 # = 0.925972 * (0.0036 default)
ATC_RAT_PIT_I,0.08429 # = 1.283176 * (0.135 default)
ATC_RAT_PIT_P,0.08429 # = 1.283176 * (0.135 default)
ATC_RAT_RLL_D,0.001535 # = 0.690593 * (0.0036 default)
ATC_RAT_RLL_I,0.077343 # = 1.061015 * (0.135 default)
ATC_RAT_RLL_P,0.077343 # = 1.061015 * (0.135 default)
ATC_RAT_YAW_D,0.006014 # = 1 * (0 default)
ATC_RAT_YAW_I,0.030876 # = 2.514026 * (0.018 default)
ATC_RAT_YAW_P,0.308758 # = 2.514026 * (0.18 default)
4 changes: 4 additions & 0 deletions vehicle_templates/ArduCopter/Chimera7/17_remote_id.param
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
DID_CANDRIVER,0
DID_ENABLE,0 # Our RemoteID module does not communicate with ArduPilot
DID_MAVPORT,2 # The serial port attached to the OpenDroneID module
DID_OPTIONS,0
10 changes: 10 additions & 0 deletions vehicle_templates/ArduCopter/Chimera7/18_notch_filter_setup.param
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
INS_FAST_SAMPLE,3 # Both IMUs can run fast on the Matek H743 Slim flight controller
INS_GYRO_RATE,1 # The Matek H743 Slim can do 2KHz here
INS_HNTCH_ATT,40 # this is just a hunch, it must be improved after the first flight (by the next file)
INS_HNTCH_BW,10 # this is just a hunch, it must be improved after the first flight (by the next file)
INS_HNTCH_ENABLE,1 # Use the first notch filter to filter the noise created by the motors/propellers
INS_HNTCH_FREQ,210 # Use 1.4 * INS_GYRO_FILTER as a first guess
INS_HNTCH_HMNCS,1 # start with a single frequency
INS_HNTCH_MODE,3 # Use the BDshot600 RPM telemetry to dynamicaly track noise created by the motors/propellers
INS_HNTCH_OPTS,6 # One Notch per motor, update at loop rate
INS_HNTCH_REF,1 # Use the BDshot600 RPM telemetry to dynamicaly track noise created by the motors/propellers
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
INS_HNTCH_ATT,40 # just enough to filter the noise created by the motors/propellers
INS_HNTCH_BW,10 # just enough to filter the noise created by the motors/propellers
INS_HNTCH_FM_RAT,1 # Allowed undercutting of the base frequency of the first notch filter
INS_HNTCH_FREQ,40 # the minimum frequency that the motors are expected to operate at
INS_HNTCH_HMNCS,7 # the motors produce harmonics on this vehicle
INS_HNTCH_OPTS,22 # Tripple Notch per motor, update at loop rate
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ATC_THR_MIX_MAN,4 # because we have learned the MOT_THST_HOVER value
PSC_ACCZ_I,0.24 # Use 2 * MOT_THST_HOVER assuming MOT_THST_HOVER has been correctly learned
PSC_ACCZ_P,0.12 # Use MOT_THST_HOVER assuming MOT_THST_HOVER has been correctly learned
2 changes: 2 additions & 0 deletions vehicle_templates/ArduCopter/Chimera7/21_ekf_config.param
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
EK3_ACC_P_NSE,0.35 # higher value -> trust accelerometer less, compared to other sources
EK3_ALT_M_NSE,2 # lower value -> trust baro more, compared to other sources
14 changes: 14 additions & 0 deletions vehicle_templates/ArduCopter/Chimera7/22_quick_tune_setup.param
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
QUIK_AUTO_FILTER,1
QUIK_AUTO_SAVE,0
QUIK_AXES,7
QUIK_DOUBLE_TIME,10
QUIK_ENABLE,1 # Use VTOL-Quicktune lua script to estimate a good PID starting values
QUIK_GAIN_MARGIN,60
QUIK_MAX_REDUCE,20
QUIK_OPTIONS,0
QUIK_OSC_SMAX,5
QUIK_RC_FUNC,300 # the script uses this value to listen to RC switch
QUIK_RP_PI_RATIO,1
QUIK_Y_PI_RATIO,10
QUIK_YAW_D_MAX,0.01
QUIK_YAW_P_MAX,0.5
10 changes: 10 additions & 0 deletions vehicle_templates/ArduCopter/Chimera7/23_quick_tune_results.param
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
ATC_RAT_PIT_D,0.00174 # Tuned by Andy Piper
ATC_RAT_PIT_I,0.08429 # Tuned by Andy Piper
ATC_RAT_PIT_P,0.08429 # Tuned by Andy Piper
ATC_RAT_RLL_D,0.001535 # Tuned by Andy Piper
ATC_RAT_RLL_I,0.077343 # Tuned by Andy Piper
ATC_RAT_RLL_P,0.077343 # Tuned by Andy Piper
ATC_RAT_YAW_D,0.006014 # Tuned by Andy Piper
ATC_RAT_YAW_FLTD,30 # Tuned by Andy Piper
ATC_RAT_YAW_I,0.030876 # Tuned by Andy Piper
ATC_RAT_YAW_P,0.308758 # Tuned by Andy Piper
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
MAGH_ALT_DELTA,10 # Height difference between the highest and lowest point of the eight
MAGH_B,1.2 # Geometric factor for the width of the eight
MAGH_CMD,117 # Script_Time command value for identification of the script
MAGH_COUNT,6 # Number of times the drone repeats the eight
MAGH_LOG_ENABLE,1 # Activates the logging of the MAGH.Active message
MAGH_MIN_SPEED,5 # Starting speed for the mission; slowly adjusts to the general speed in auto-missions
MAGH_NUM_WP,18 # Number of waypoints from which the eight is built
MAGH_USE_LOITER,0 # Sets a Loiter_unlimited command at the beginning of the mission to check the generated waypoints
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Dynamically generated list of documented parameters (generated by param_parse.py) -->
<paramfile>
<vehicles>
<parameters name="ArduCopter">
<param name="MAGH_ALT_DELTA" humanName="Altitude change" documentation="Altitude change to be commanded during the figure-8 pattern to capture mag field changes during throttle changes. Starting altitude is based upon the entry waypoint’s altitude, and the Copter will climb this amount ABOVE that starting altitude on occasion.">
<field name="Units">m</field>
<field name="Range">0 100</field>
<field name="Default">10</field>
</param>
<param name="MAGH_B" humanName="Figure 8 Geometric factor" documentation="Geometric factor to adjust the width of the figure-8. Values of 1.2-1.5 should be more than adequate.">
<field name="Range">1.2 1.5</field>
<field name="Default">1.2</field>
</param>
<param name="MAGH_CMD" humanName="SCRIPT_TIME command" documentation="The SCRIPT_TIME command value used to initiate the scripted pattern. Defaults to 117.">
<field name="Range">0 255</field>
<field name="Default">117</field>
</param>
<param name="MAGH_COUNT" humanName="Repeat count" documentation="Number of times to repeat the figure-8. If battery failsafes are properly configured, you can make this number somewhat high so that the figure-8 will be repeated until failsafe.">
<field name="Range">1 20</field>
<field name="Default">6</field>
</param>
<param name="MAGH_LOG_ENABLE" humanName="Enable MAGH.Active logging" documentation="Enable a MAGH.Active value to be logged in dataflash for later consumption. Set 0 for no logging.">
<field name="Range">0 1</field>
<field name="Default">1</field>
</param>
<param name="MAGH_MIN_SPEED" humanName="Minimum speed" documentation="Starting speed (m/s) for the figure-8. Speed will slowly increment to WPNAV_SPEED as the pattern is repeated. Defaults to 1/2 of WPNAV_SPEED.">
<field name="Units">m/s</field>
<field name="Default">1/2 of WPNAV_SPEED</field>
</param>
<param name="MAGH_NUM_WP" humanName="Number of waypoint in figure 8" documentation="The number of waypoints to be used in defining the figure-8. Use more points for a smoother path at the cost of potentially slower speed during navigation. Defaults to 18. 16-24 should be adequate for most cases.">
<field name="Range">16 24</field>
<field name="Default">18</field>
</param>
<param name="MAGH_USE_LOITER" humanName="Use loiter" documentation="Insert a LOITER_UNLIMITED waypoint prior to the figure-8 so that the new waypoints can be downloaded and verified prior to continuing. Set 0 to disable (not recommended). See the end of the writeup for a helper script to advance waypoints via an RC switch.">
<field name="Range">0 1</field>
<field name="Default">1</field>
</param>
</parameters>
</vehicles>
</paramfile>
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
COMPASS_DIA_X,0.995736
COMPASS_DIA_Y,1.011077
COMPASS_DIA_Z,0.993194
COMPASS_MOT_X,0.787854
COMPASS_MOT_Y,-0.51881
COMPASS_MOT_Z,-0.527759
COMPASS_MOTCT,2
COMPASS_ODI_X,-0.002083
COMPASS_ODI_Y,0.002675
COMPASS_ODI_Z,-0.009437
COMPASS_OFS_X,-390.7748
COMPASS_OFS_Y,-83.99068
COMPASS_OFS_Z,-494.4834
COMPASS_ORIENT,31
COMPASS_SCALE,0
14 changes: 14 additions & 0 deletions vehicle_templates/ArduCopter/Chimera7/26_quick_tune_setup.param
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
QUIK_AUTO_FILTER,1
QUIK_AUTO_SAVE,0
QUIK_AXES,7
QUIK_DOUBLE_TIME,10
QUIK_ENABLE,1 # Use VTOL-Quicktune lua script to estimate a good PID starting values
QUIK_GAIN_MARGIN,60
QUIK_MAX_REDUCE,20
QUIK_OPTIONS,0
QUIK_OSC_SMAX,5
QUIK_RC_FUNC,300 # the script uses this value to listen to RC switch
QUIK_RP_PI_RATIO,1
QUIK_Y_PI_RATIO,10
QUIK_YAW_D_MAX,0.01
QUIK_YAW_P_MAX,0.5
Loading

0 comments on commit c04a5c5

Please sign in to comment.