Saturday, January 28, 2017

Entry #8 - Switches on - Contact! (or My Flying Machine Won't Fly)

But no tally ho!

After a 26 or so hour marathon and one dead made from ass cheese soldering iron from JaycCar, and one still working but pretty dangerous (the tip and heating element fell out during use) Bunning soldering iron I finally have what one might (nominally) refer to as "a flying machine".

It's got everything a flying machine should have.
Power source, ESCs motors, props, a flight computer etc etc.
Only problem is, it does not fly.
At least not for more than about 2 secs, then it seems to consistently roll to the left (raise it's right side and drop it's left side) and then end up on it's back or twirl around a bit and then end up n it's back.

It looks sort of like this:



If any one has the slightest clue why I'd appreciate a comment or email. The flight controller is an Emax Skyline32 version 1.1 and I'm running Cleanflight 1.14.2 -see below for config.
Things I've tried:
  • recalibarating the accelerometer and magnetmometer
  • resoldering the ESC (my soldering is crap and one of the connection on the right hand side was super dodge - I thought maybe not getting enough/too much power)
  • being at my wits ends
Thing's I've considered:
  • I don't know how to fly.
While I don't dismiss the latter out of hand, I don't think it's the root cause. My gut feel says I should be able to get more than an inch or two off the ground. Please I beg you to correct me if it does look like novice piloting is the issue - at least I'll know and can stop searching for an answer.

Entering CLI Mode, type 'exit' to return, or 'help'

# version
# Cleanflight/NAZE 1.14.2 Dec 31 2016 / 02:12:34 (747971f)
# get
debug_mode = NONE
emf_avoidance = OFF
i2c_highspeed = ON
flashchip_id = 2105365
flashchip_nsect = 32
flashchip_pps = 256
mid_rc = 1500
min_check = 1100
max_check = 1900
rssi_channel = 0
rssi_scale = 30
rssi_ppm_invert = OFF
rc_smoothing = OFF
rx_min_usec = 885
rx_max_usec = 2115
serialrx_provider = SPEK1024
sbus_inversion = ON
spektrum_sat_bind = 0
input_filtering_mode = OFF
min_throttle = 1150
max_throttle = 1850
min_command = 1000
motor_pwm_rate = 400
servo_center_pulse = 1500
servo_pwm_rate = 50
3d_deadband_low = 1406
3d_deadband_high = 1514
3d_neutral = 1460
retarded_arm = OFF
disarm_kill_switch = OFF
auto_disarm_delay = 5
max_arm_angle = 25
fixedwing_althold_dir = 1
reboot_character = 82
gps_provider = NMEA
gps_sbas_mode = AUTO
gps_auto_config = ON
gps_auto_baud = OFF
gps_pos_p = 15
gps_pos_i = 0
gps_pos_d = 0
gps_posr_p = 34
gps_posr_i = 14
gps_posr_d = 53
gps_nav_p = 25
gps_nav_i = 33
gps_nav_d = 83
gps_wp_radius = 200
nav_controls_heading = ON
nav_speed_min = 100
nav_speed_max = 300
nav_slew_rate = 30
telemetry_switch = OFF
telemetry_inversion = OFF
telemetry_send_cells = ON
frsky_default_lattitude =  0.000
frsky_default_longitude =  0.000
frsky_coordinates_format = 0
frsky_unit = IMPERIAL
frsky_vfas_precision = 0
hott_alarm_sound_interval = 5
ibus_report_cell_voltage = OFF
battery_capacity = 0
vbat_scale = 110
vbat_max_cell_voltage = 43
vbat_min_cell_voltage = 33
vbat_warning_cell_voltage = 35
amperage_meter_scale = 0
amperage_meter_offset = 0
multiwii_amperage_meter_output = OFF
amperage_meter_source = VIRTUAL
vbat_hysteresis = 1
align_gyro = DEFAULT
align_acc = DEFAULT
align_mag = CW90
align_board_roll = 0
align_board_pitch = 0
align_board_yaw = 0
small_angle = 25
max_angle_inclination = 500
pid_process_denom = 1
gyro_sync = 1
gyro_sample_hz = 1000
gyro_lpf = OFF
gyro_lowpass_level = NORMAL
gyro_lowpass_hz = 90
gyro_notch_hz = 130
gyro_notch_cutoff_hz = 130
moron_threshold = 32
imu_dcm_kp = 2500
imu_dcm_ki = 0
alt_hold_deadband = 40
alt_hold_fast_change = ON
deadband = 0
yaw_deadband = 0
yaw_control_direction = 1
3d_deadband_throttle = 50
throttle_correction_value = 0
throttle_correction_angle = 800
pid_at_min_throttle = ON
yaw_motor_direction = 1
yaw_jump_prevention_limit = 200
tri_unarmed_servo = ON
servo_lowpass_freq =  400.000
servo_lowpass_enable = OFF
default_rate_profile = 0
rc_rate = 90
rc_expo = 65
rc_yaw_expo = 0
thr_mid = 50
thr_expo = 0
roll_rate = 0
pitch_rate = 0
yaw_rate = 0
tpa_rate = 0
tpa_breakpoint = 1500
failsafe_delay = 10
failsafe_off_delay = 200
failsafe_throttle = 1100
failsafe_kill_switch = OFF
failsafe_throttle_low_delay = 100
failsafe_procedure = 1
gimbal_mode = NORMAL
acc_hardware = 0
acc_cut_hz = 15
accxy_deadband = 40
accz_deadband = 40
accz_lpf_cutoff =  5.000
acc_unarmedcal = ON
acc_trim_pitch = 0
acc_trim_roll = 0
baro_tab_size = 21
baro_noise_lpf =  0.600
baro_cf_vel =  0.985
baro_cf_alt =  0.965
baro_hardware = 0
mag_hardware = 0
mag_declination = 0
pid_controller = LUX
p_pitch = 40
i_pitch = 30
d_pitch = 23
p_roll = 40
i_roll = 30
d_roll = 23
p_yaw = 85
i_yaw = 45
d_yaw = 0
p_alt = 50
i_alt = 0
d_alt = 0
p_level = 20
i_level = 10
d_level = 75
p_vel = 120
i_vel = 45
d_vel = 1
pid_delta_method = MEASUREMENT
yaw_p_limit = 500
yaw_lpf_hz = 0
dterm_lowpass_level = HIGH
dterm_lowpass_hz = 100
horizon_tilt_effect = 75
horizon_tilt_mode = SAFE
gtune_loP_rll = 10
gtune_loP_ptch = 10
gtune_loP_yw = 10
gtune_hiP_rll = 100
gtune_hiP_ptch = 100
gtune_hiP_yw = 100
gtune_pwr = 0
gtune_settle_time = 450
gtune_average_cycles = 16
blackbox_rate_num = 1
blackbox_rate_denom = 1
blackbox_device = SERIAL
magzero_x = -58
magzero_y = -78
magzero_z = 84

No comments:

Post a Comment