Skip to content

Instantly share code, notes, and snippets.

@lazd
Last active May 27, 2016 20:59
Show Gist options
  • Save lazd/9e350af40729368bd361 to your computer and use it in GitHub Desktop.
Save lazd/9e350af40729368bd361 to your computer and use it in GitHub Desktop.
Falcon 185 Baseline Setup - Luxfloat
# features
feature -MOTOR_STOP
feature VBAT
feature RX_SERIAL
feature SOFTSERIAL
feature FAILSAFE
feature TELEMETRY
feature ONESHOT125
feature BLACKBOX
# Min/max (calibrate ESCs at 1050/2000, then reduce to 1950)
set min_throttle = 1050
set max_throttle = 1950
# Always arm
small_angle set to 180
# serial
set serialrx_provider = SBUS
serial 0 1 115200 57600 0 115200
serial 1 32 115200 57600 0 115200
serial 2 64 115200 57600 0 115200
# Telemetry
set telemetry_inversion = ON
# Blackbox
set blackbox_device = SPIFLASH
# Failsafe
# Enter failsafe if RX drops for 1 second
set failsafe_delay = 10
# Immediately shut down motors, don't run motors at failsafe_throttle at all
set failsafe_off_delay = 0
# Don't enter failsafe if throttle was at min_throttle for last 1 second
set failsafe_throttle_low_delay = 10
# Shut off motors when failsafe activated (not actually necessary)
set failsafe_throttle = 1000
# aux
aux 0 1 0 1800 2100
aux 1 2 0 1300 1700
aux 2 27 3 900 1200
aux 3 12 1 1800 2100
aux 4 25 2 1800 2100
# rateprofile
rateprofile 0
# Rates
set rc_rate = 100
set rc_expo = 70
set rc_yaw_expo = 20
set thr_mid = 50
set thr_expo = 0
set roll_rate = 40
set pitch_rate = 40
set yaw_rate = 40
set tpa_rate = 0
set tpa_breakpoint = 1500
# PIDs
set pid_controller = LUX
set p_pitchf = 0.640
set i_pitchf = 0.700
set d_pitchf = 0.015
set p_rollf = 0.620
set i_rollf = 0.700
set d_rollf = 0.014
set p_yawf = 1.300
set i_yawf = 0.900
set d_yawf = 0.000
save
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment