amilcarlucas/MethodicConfigurator

View on GitHub
vehicle_templates/ArduCopter/diatone_taycan_mxc/4.4.4-params/07_esc.param

Summary

Maintainability
Test Coverage
ATC_RAT_PIT_SMAX,25  # limit the slew rate to prevent possible ESC desync - https://ardupilot.org/copter/docs/common-servo-limit-cycle-detection.html
ATC_RAT_RLL_SMAX,25  # limit the slew rate to prevent possible ESC desync - https://ardupilot.org/copter/docs/common-servo-limit-cycle-detection.html
ATC_RAT_YAW_SMAX,25  # 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 the 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,3  # the 4-in-1 ESC uses this
NTF_LED_TYPES,2369  # Built-in LED, NCP5623 External (Holybro F9P), Neopixel (Matek H743 slim v3), and DShot (4-in-1 ESC)
PSC_ACCZ_SMAX,25  # limit the slew rate to prevent possible ESC desync - https://ardupilot.org/copter/docs/common-servo-limit-cycle-detection.html
SERIAL5_BAUD,115  # bi-directional DShot telemetry data rate from T-Motor F45 4in1 ESC V2
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  # For matek H743Slim v3 board
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,1400  # Our motors should idle at around 1400 RPM, see https://ardupilot.org/copter/docs/tkoff-rpm-min.html
TKOFF_SLEW_TIME,2  # left at default because copter is small