-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FEATURE: Add an initial rover template
- Loading branch information
1 parent
e0c52fe
commit 964ff2a
Showing
54 changed files
with
31,135 additions
and
0 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
vehicle_templates/Rover/Randy_1/02_imu_temperature_calibration_setup.param
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
BRD_HEAT_TARG,65 # Reasonable for most places on this planet | ||
INS_LOG_BAT_MASK,7 # Calculate IMU calibration for all IMUs, irrespective of their usage in a future step. Saves the trouble of recalibrating an inactive IMU if you later decide to activate it | ||
INS_TCAL1_ENABLE,2 # Activates the temperature calibration for IMU 1 at the next start | ||
INS_TCAL1_TMAX,60 # 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,60 # our H7 processor acts as a heater and heats up the board to almost 60 deg | ||
INS_TCAL3_ENABLE,2 # Activates the temperature calibration for IMU 3 at the next start | ||
LOG_BITMASK,524416 # Only for IMU and Raw-IMU | ||
LOG_DISARMED,1 # Gather data for the offline IMU temperature calibration while the FC is disarmed |
42 changes: 42 additions & 0 deletions
42
vehicle_templates/Rover/Randy_1/03_imu_temperature_calibration_results.param
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
INS_TCAL1_ACC1_X,115.946591 | ||
INS_TCAL1_ACC1_Y,498.256973 | ||
INS_TCAL1_ACC1_Z,-381.446152 | ||
INS_TCAL1_ACC2_X,-22.931569 | ||
INS_TCAL1_ACC2_Y,13.578689 | ||
INS_TCAL1_ACC2_Z,19.36129 | ||
INS_TCAL1_ACC3_X,-0.601406 | ||
INS_TCAL1_ACC3_Y,0.213799 | ||
INS_TCAL1_ACC3_Z,0.011622 | ||
INS_TCAL1_ENABLE,0 | ||
INS_TCAL1_GYR1_X,-32.634221 | ||
INS_TCAL1_GYR1_Y,79.655005 | ||
INS_TCAL1_GYR1_Z,-151.124203 | ||
INS_TCAL1_GYR2_X,-0.611429 | ||
INS_TCAL1_GYR2_Y,-2.040989 | ||
INS_TCAL1_GYR2_Z,1.23833 | ||
INS_TCAL1_GYR3_X,-0.009728 | ||
INS_TCAL1_GYR3_Y,0.019492 | ||
INS_TCAL1_GYR3_Z,0.00141 | ||
INS_TCAL1_TMAX,56 | ||
INS_TCAL1_TMIN,-14.6 | ||
INS_TCAL2_ACC1_X,-1088.4156 | ||
INS_TCAL2_ACC1_Y,806.840522 | ||
INS_TCAL2_ACC1_Z,327.521202 | ||
INS_TCAL2_ACC2_X,-13.630366 | ||
INS_TCAL2_ACC2_Y,6.347961 | ||
INS_TCAL2_ACC2_Z,9.967253 | ||
INS_TCAL2_ACC3_X,-0.376738 | ||
INS_TCAL2_ACC3_Y,0.002642 | ||
INS_TCAL2_ACC3_Z,-0.065861 | ||
INS_TCAL2_ENABLE,0 | ||
INS_TCAL2_GYR1_X,-44.455146 | ||
INS_TCAL2_GYR1_Y,-8.833006 | ||
INS_TCAL2_GYR1_Z,88.004539 | ||
INS_TCAL2_GYR2_X,1.435061 | ||
INS_TCAL2_GYR2_Y,-0.204453 | ||
INS_TCAL2_GYR2_Z,-2.086232 | ||
INS_TCAL2_GYR3_X,-0.048141 | ||
INS_TCAL2_GYR3_Y,-0.002373 | ||
INS_TCAL2_GYR3_Z,-0.028351 | ||
INS_TCAL2_TMAX,56.5 | ||
INS_TCAL2_TMIN,-13.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
10
vehicle_templates/Rover/Randy_1/05_remote_controller.param
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
ARMING_RUDDER,2 # We find it safer to use only a switch to arm instead of through rudder inputs | ||
BRD_ALT_CONFIG,0 # Matek H743-specific: Hardware-Pin Rx6 is Rx from UART 7 | ||
RC_OPTIONS,32 # Enables Crossfire Telemetry | ||
RC_PROTOCOLS,512 # Selected in the component editor | ||
RC6_OPTION,0 # "Arm/Disarm", to use an arming switch (here Channel 6) | ||
RC7_OPTION,153 # "Motor Emergency Stop", stops all motors immediately at a high signal | ||
RC8_OPTION,0 # "Lost Copter Sound", generates a loud tone from the buzzer at a high signal to locate a lost multicopter | ||
RC9_OPTION,0 # Used to jump to the next waypoint | ||
RSSI_TYPE,0 # TBS Crossfire protocol provides RSSI | ||
SERIAL7_PROTOCOL,23 # Specifies the serial port 7 as RC-Input |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
BRD_SER1_RTSCTS,2 # we have RTS/CTS pins connected | ||
SERIAL1_BAUD,115 # The MAVLink over ESP32 telemetry | ||
SERIAL1_PROTOCOL,2 # Use MAVLink 2 for telemetry |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
MOT_PWM_TYPE,7 # Specified in component editor window | ||
NTF_BUZZ_TYPES,5 # the 4-in-1 ESC uses this | ||
NTF_LED_TYPES,24807 # Built-in LED, NCP5623 External (Holybro F9P), Neopixel (Matek H743 slim v3), and DShot (4-in-1 ESC) | ||
SERIAL5_BAUD,57 # bi-directional DShot telemetry data rate from T-Motor F45 4in1 ESC V2 | ||
SERIAL5_PROTOCOL,-1 # bi-directional DShot telemetry pin is connected to SERIAL5 | ||
SERVO_BLH_AUTO,0 # Enables BLHeli pass-thru | ||
SERVO_BLH_POLES,14 # Specified in component editor window | ||
SERVO_BLH_TRATE,10 # Set to a low value because the RPM telemetry uses bi-directional DShot telemetry instead of this UART telemetry | ||
SERVO_DSHOT_ESC,0 # BLHeli32 | ||
SERVO_DSHOT_RATE,0 # 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,1500 # Use the full available 1000-2000 DShot range | ||
SERVO13_FUNCTION,-1 # For matek H743Slim v3 board | ||
SERVO2_MAX,1900 # Use the full available 1000-2000 DShot range | ||
SERVO2_MIN,1100 # Use the full available 1000-2000 DShot range | ||
SERVO2_TRIM,1500 # 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,1500 # Use the full available 1000-2000 DShot range | ||
SERVO4_MAX,1900 # Use the full available 1000-2000 DShot range | ||
SERVO4_MIN,1100 # Use the full available 1000-2000 DShot range | ||
SERVO4_TRIM,1500 # Use the full available 1000-2000 DShot range |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
BATT_AMP_PERVLT,17 # new calibrated value for Mamba F45_128k 4in1 ESC | ||
BATT_ARM_VOLT,15.7 # Don’t allow arming below this voltage | ||
BATT_CAPACITY,1800 # Total battery capacity specified in the component editor | ||
BATT_CRT_MAH,0 # When only 450mAh out of the total 1800mAh remain, trigger critical failsafe | ||
BATT_CRT_VOLT,14.2 # (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,0 # Let the firmware handle the nasty business of variable and battery dependent internal resistance | ||
BATT_LOW_MAH,0 # When only 450mAh out of the total 1800mAh remain, trigger low failsafe | ||
BATT_LOW_VOLT,14.4 # (Low voltage + 0.0) x no. of cells | ||
BATT_MONITOR,4 | ||
BATT_VOLT_MULT,10.1 # 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
BATT2_AMP_PERVLT,17.73 # calibrated using batt charger | ||
BATT2_ARM_VOLT,15 # In our build this is a redundant monitor for batt1 so == BATT_ARM_VOLT | ||
BATT2_CAPACITY,1800 # In our build this is a redundant monitor for batt1 so == BATT_CAPACITY | ||
BATT2_CRT_MAH,450 # In our build this is a redundant monitor for batt1 so == BATT_CRT_MAH | ||
BATT2_CRT_VOLT,14 # In our build this is a redundant monitor for batt1 so == BATT_CRT_VOLT | ||
BATT2_CURR_PIN,7 | ||
BATT2_FS_CRT_ACT,1 # flying indoors, just land ASAP, no need to hit the ceiling while doing RTL | ||
BATT2_FS_LOW_ACT,1 # flying indoors, just land ASAP, no need to hit the ceiling while doing RTL | ||
BATT2_FS_VOLTSRC,1 # In our build this is a redundant monitor for batt1 so == BATT_FS_VOLTSRC | ||
BATT2_LOW_MAH,600 # In our build this is a redundant monitor for batt1 so == BATT_LOW_MAH | ||
BATT2_LOW_VOLT,14.4 # In our build this is a redundant monitor for batt1 so == BATT_LOW_VOLT | ||
BATT2_MONITOR,0 | ||
BATT2_VOLT_MULT,228.342 # Use a power source with a voltage close to BATT2_LOW_VOLT measure with a calibrated voltimeter and adapt this parameter so that the telemetry voltage reading matches it | ||
BATT2_VOLT_PIN,18 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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,0 # limit the constalations to ensure an update rate higher than 5Hz | ||
GPS_POS1_X,0 # HX-CH7604A GNSS antenna pahse center location relative to CG | ||
GPS_POS1_Y,0 # HX-CH7604A GNSS antenna pahse center location relative to CG | ||
GPS_POS1_Z,0 # HX-CH7604A GNSS antenna pahse center location relative to CG | ||
GPS_TYPE,2 # Defined in component editor | ||
SERIAL3_PROTOCOL,5 # GNSS receiver is connected to serial3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
ATC_ACCEL_P_MAX,193500 # Derived from vehicle component editor propeller size | ||
ATC_ACCEL_R_MAX,193500 # Derived from vehicle component editor propeller size | ||
ATC_ACCEL_Y_MAX,33300 # Derived from vehicle component editor propeller size | ||
ATC_ANG_YAW_P,5.5 # Derived from vehicle component editor propeller size | ||
ATC_RAT_PIT_FLTD,57.5 # INS_GYRO_FILTER / 2 | ||
ATC_RAT_PIT_FLTE,0 # Initial value, will be improved at a later step | ||
ATC_RAT_PIT_FLTT,57.5 # INS_GYRO_FILTER / 2 | ||
ATC_RAT_RLL_FLTD,57.5 # INS_GYRO_FILTER / 2 | ||
ATC_RAT_RLL_FLTE,0 # Initial value, will be improved at a later step | ||
ATC_RAT_RLL_FLTT,57.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,57.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,115 # Derived from vehicle component editor propeller size | ||
MOT_THST_EXPO,0.41 # Derived from vehicle component editor propeller size | ||
MOT_THST_HOVER,0.2 # Hover learn will improve this initial guess |
79 changes: 79 additions & 0 deletions
79
vehicle_templates/Rover/Randy_1/12_mp_setup_mandatory_hardware.param
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
AHRS_TRIM_X,0.008292 | ||
AHRS_TRIM_Y,0.01374 | ||
ATC_ACCEL_P_MAX,193500 | ||
ATC_ACCEL_R_MAX,193500 | ||
ATC_ACCEL_Y_MAX,33300 | ||
ATC_RAT_PIT_FLTD,57.5 # INS_GYRO_FILTER / 2 | ||
ATC_RAT_PIT_FLTT,57.5 # INS_GYRO_FILTER / 2 | ||
ATC_RAT_RLL_FLTD,57.5 # INS_GYRO_FILTER / 2 | ||
ATC_RAT_RLL_FLTT,57.5 # INS_GYRO_FILTER / 2 | ||
ATC_RAT_YAW_FLTE,2 | ||
ATC_RAT_YAW_FLTT,57.5 # INS_GYRO_FILTER / 2 | ||
COMPASS_EXTERNAL,1 | ||
COMPASS_ORIENT,0 | ||
COMPASS_PRIO1_ID,97539 | ||
COMPASS_USE2,0 | ||
COMPASS_USE3,0 | ||
FENCE_ACTION,1 | ||
FENCE_ALT_MAX,80 | ||
FENCE_ENABLE,0 | ||
FENCE_RADIUS,300 | ||
FLTMODE1,0 | ||
FLTMODE2,2 | ||
FLTMODE3,5 | ||
FLTMODE4,3 | ||
FLTMODE5,15 | ||
FLTMODE6,6 | ||
FRAME_CLASS,1 | ||
FRAME_TYPE,0 | ||
INS_ACC1_CALTEMP,45.750572 | ||
INS_ACC2_CALTEMP,45.297253 | ||
INS_ACC2SCAL_X,0.998368 | ||
INS_ACC2SCAL_Y,0.998589 | ||
INS_ACC2SCAL_Z,0.994486 | ||
INS_ACC3SCAL_X,0.997718 | ||
INS_ACC3SCAL_Y,0.998261 | ||
INS_ACC3SCAL_Z,0.994965 | ||
INS_ACCSCAL_X,0.998864 | ||
INS_ACCSCAL_Y,0.968915 | ||
INS_ACCSCAL_Z,0.999515 | ||
INS_GYRO_FILTER,4 | ||
INS_USE3,1 | ||
MOT_BAT_VOLT_MAX,16.799999 | ||
MOT_BAT_VOLT_MIN,13.2 | ||
MOT_SPIN_ARM,0.02 | ||
MOT_SPIN_MAX,0.95 | ||
MOT_SPIN_MIN,0.05 | ||
MOT_THST_EXPO,0 | ||
MOT_THST_HOVER,0.2 | ||
RC1_MAX,1937 | ||
RC1_MIN,1106 | ||
RC1_TRIM,1525 | ||
RC2_MAX,1934 | ||
RC2_MIN,1097 | ||
RC2_TRIM,1521 | ||
RC3_MAX,1930 | ||
RC3_MIN,1106 | ||
RC3_TRIM,1503 | ||
RC4_MAX,1932 | ||
RC4_MIN,1100 | ||
RC4_TRIM,1512 | ||
RC5_MAX,2071 | ||
RC5_MIN,965 | ||
RC5_TRIM,965 | ||
RC6_MAX,2071 | ||
RC6_MIN,964 | ||
RC6_TRIM,1506 | ||
RC7_MAX,1998 | ||
RC7_MIN,1003 | ||
RC7_TRIM,1003 | ||
RC8_MAX,2064 | ||
RC8_MIN,964 | ||
RC8_TRIM,964 | ||
RC9_MAX,2064 | ||
RC9_MIN,964 | ||
RC9_TRIM,964 | ||
SERVO1_FUNCTION,73 | ||
SERVO2_FUNCTION,0 | ||
SERVO3_FUNCTION,74 | ||
SERVO4_FUNCTION,0 |
10 changes: 10 additions & 0 deletions
10
vehicle_templates/Rover/Randy_1/13_general_configuration.param
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
ARMING_CHECK,1 # Perform all arming checks. If you have a problem fix its source. Do NOT change this | ||
BRD_RTC_TZ_MIN,0 # Berlin time zone | ||
FENCE_TYPE,6 # 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 # was -0.005 | ||
INS_POS1_Y,0 # was -0.011 | ||
INS_POS2_X,0 # was -0.011 | ||
INS_POS2_Y,0 # was -0.01 | ||
SCHED_LOOP_RATE,50 # 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
INS_LOG_BAT_MASK,0 # 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,0 # 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
MOT_THST_EXPO,0 # Measured with the motor test stand RCBenchmark Series 1780 from Tyto Robotics |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
ATC_INPUT_TC,0.15 | ||
ATC_RAT_PIT_D,0.003334 # = 0.925972 * (0.0036 default) | ||
ATC_RAT_PIT_I,0.173229 # = 1.283176 * (0.135 default) | ||
ATC_RAT_PIT_P,0.173229 # = 1.283176 * (0.135 default) | ||
ATC_RAT_RLL_D,0.002486 # = 0.690593 * (0.0036 default) | ||
ATC_RAT_RLL_I,0.143237 # = 1.061015 * (0.135 default) | ||
ATC_RAT_RLL_P,0.143237 # = 1.061015 * (0.135 default) | ||
ATC_RAT_YAW_D,0 # = 1 * (0 default) | ||
ATC_RAT_YAW_I,0.045252 # = 2.514026 * (0.018 default) | ||
ATC_RAT_YAW_P,0.452525 # = 2.514026 * (0.18 default) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
INS_FAST_SAMPLE,7 # Both IMUs can run fast on the Matek H743 Slim flight controller | ||
INS_GYRO_RATE,1 # the H743 can do 4KHz here | ||
INS_HNTCH_ENABLE,1 # Use the first notch filter to filter the noise created by the motors/propellers |
6 changes: 6 additions & 0 deletions
6
vehicle_templates/Rover/Randy_1/19_notch_filter_results.param
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
INS_HNTCH_ATT,30 # just enough to filter the noise created by the motors/propellers | ||
INS_HNTCH_BW,30 # 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,115 # the minimum frequency that the motors are expected to operate at | ||
INS_HNTCH_HMNCS,3 # the motors produce secondary harmonics on this vehicle | ||
INS_HNTCH_OPTS,6 # One Notch per motor, update at loop rate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
ATC_THR_MIX_MAN,0.5 # because we have learned the MOT_THST_HOVER value | ||
PSC_ACCZ_I,0.373936 # Use 2 * MOT_THST_HOVER assuming MOT_THST_HOVER has been correctly learned | ||
PSC_ACCZ_P,0.2 # Use MOT_THST_HOVER assuming MOT_THST_HOVER has been correctly learned |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
10
vehicle_templates/Rover/Randy_1/23_quick_tune_results.param
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
ATC_RAT_PIT_D,0.00659 # Tuned in a Hangar | ||
ATC_RAT_PIT_I,0.412175 # Tuned in a Hangar | ||
ATC_RAT_PIT_P,0.412175 # Tuned in a Hangar | ||
ATC_RAT_RLL_D,0.003622 # Tuned in a Hangar | ||
ATC_RAT_RLL_I,0.251225 # Tuned in a Hangar | ||
ATC_RAT_RLL_P,0.251225 # Tuned in a Hangar | ||
ATC_RAT_YAW_D,0.01 # Tuned in a Hangar | ||
ATC_RAT_YAW_FLTD,57.5 # Tuned in a Hangar | ||
ATC_RAT_YAW_I,0.05 # Tuned in a Hangar | ||
ATC_RAT_YAW_P,0.5 # Tuned in a Hangar |
8 changes: 8 additions & 0 deletions
8
vehicle_templates/Rover/Randy_1/24_inflight_magnetometer_fit_setup.param
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
41 changes: 41 additions & 0 deletions
41
vehicle_templates/Rover/Randy_1/24_inflight_magnetometer_fit_setup.pdef.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
15 changes: 15 additions & 0 deletions
15
vehicle_templates/Rover/Randy_1/25_inflight_magnetometer_fit_results.param
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
COMPASS_DIA_X,0.945127 | ||
COMPASS_DIA_Y,0.996182 | ||
COMPASS_DIA_Z,0.944432 | ||
COMPASS_MOT_X,0 | ||
COMPASS_MOT_Y,0 | ||
COMPASS_MOT_Z,0 | ||
COMPASS_MOTCT,0 | ||
COMPASS_ODI_X,-0.011718 | ||
COMPASS_ODI_Y,0.005217 | ||
COMPASS_ODI_Z,-0.008702 | ||
COMPASS_OFS_X,441.278137 | ||
COMPASS_OFS_Y,35.076229 | ||
COMPASS_OFS_Z,70.63755 | ||
COMPASS_ORIENT,0 | ||
COMPASS_SCALE,1.062267 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.