{"action":"created","issue":{"url":"https://api.github.com/repos/betaflight/betaflight/issues/6852","repository_url":"https://api.github.com/repos/betaflight/betaflight","labels_url":"https://api.github.com/repos/betaflight/betaflight/issues/6852/labels{/name}","comments_url":"https://api.github.com/repos/betaflight/betaflight/issues/6852/comments","events_url":"https://api.github.com/repos/betaflight/betaflight/issues/6852/events","html_url":"https://github.com/betaflight/betaflight/issues/6852","id":365119311,"node_id":"MDU6SXNzdWUzNjUxMTkzMTE=","number":6852,"title":"DALRC DLF7 target / wrong vbat scale / BB logging vibes","user":{"login":"darksonny","id":31681897,"node_id":"MDQ6VXNlcjMxNjgxODk3","avatar_url":"https://avatars2.githubusercontent.com/u/31681897?v=4","gravatar_id":"","url":"https://api.github.com/users/darksonny","html_url":"https://github.com/darksonny","followers_url":"https://api.github.com/users/darksonny/followers","following_url":"https://api.github.com/users/darksonny/following{/other_user}","gists_url":"https://api.github.com/users/darksonny/gists{/gist_id}","starred_url":"https://api.github.com/users/darksonny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darksonny/subscriptions","organizations_url":"https://api.github.com/users/darksonny/orgs","repos_url":"https://api.github.com/users/darksonny/repos","events_url":"https://api.github.com/users/darksonny/events{/privacy}","received_events_url":"https://api.github.com/users/darksonny/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2018-09-29T10:16:56Z","updated_at":"2018-10-20T05:54:53Z","closed_at":null,"author_association":"NONE","body":"Hi guys.\r\n\r\nWas just testing the new DALRC F722 dual gyro FC.\r\n\r\nI have two issues:\r\n1: vbat scale is off by a lot, it should be 156.\r\nI'm using the matek vtx pdb hub, vbat pass-through tho.\r\n\r\n2: BBL logging above 2khz is causing wiggles, vibes.\r\nI switched BBL on/off while hovering, could not log with 4khz using 32/16 and ICM (second gyro)\r\n\r\nMy setup:\r\nDALRC F722 (icm gyro active) 32/16 dshot1200\r\nWraith ESC (48khz, auto timing on)\r\n2306, 2750kv motors on 5.1 props\r\n5 inch setup\r\n\r\n# diff\r\n\r\n# version\r\n# Betaflight / DALRCF722DUAL (DLF7) 3.5.1 Sep  8 2018 / 05:08:10 (d9fb5ca13) MSP API: 1.40\r\n\r\nboard_name DALRCF722DUAL\r\nmanufacturer_id \r\n\r\n# name\r\nname F7XL5v3\r\n\r\n# resources\r\n\r\n# mixer\r\n\r\n# servo\r\n\r\n# servo mix\r\n\r\n\r\n# feature\r\nfeature TELEMETRY\r\nfeature AIRMODE\r\n\r\n# beeper\r\nbeeper -GYRO_CALIBRATED\r\nbeeper -ARMING_GPS_FIX\r\nbeeper -RX_SET\r\nbeeper -ACC_CALIBRATION\r\nbeeper -ACC_CALIBRATION_FAIL\r\nbeeper -READY_BEEP\r\nbeeper -MULTI_BEEPS\r\nbeeper -ARMED\r\nbeeper -ON_USB\r\n\r\n# beacon\r\n\r\n# map\r\nmap TAER1234\r\n\r\n# serial\r\nserial 0 0 115200 57600 0 115200\r\nserial 1 64 115200 57600 0 115200\r\nserial 3 8192 115200 57600 0 115200\r\n\r\n# led\r\n\r\n# color\r\n\r\n# mode_color\r\n\r\n# aux\r\naux 0 0 0 1700 2100 0 0\r\naux 1 1 1 1300 1700 0 0\r\naux 2 27 2 1700 2100 0 0\r\naux 3 13 2 1325 1725 0 0\r\naux 4 26 1 1700 2100 0 0\r\naux 5 35 3 1700 2100 0 0\r\n\r\n# adjrange\r\n\r\n# rxrange\r\n\r\n# vtx\r\n\r\n# rxfail\r\n\r\n# master\r\nset gyro_lowpass_hz = 90\r\nset gyro_lowpass2_hz = 180\r\nset gyro_calib_noise_limit = 148\r\nset gyro_use_32khz = ON\r\nset gyro_to_use = SECOND\r\nset acc_calibration = 44,-13,-73\r\nset mag_hardware = NONE\r\nset baro_hardware = NONE\r\nset min_check = 1025\r\nset max_check = 1850\r\nset rssi_channel = 12\r\nset rc_smoothing_type = FILTER\r\nset serialrx_provider = CRSF\r\nset blackbox_p_ratio = 64\r\nset dshot_idle_value = 500\r\nset motor_pwm_protocol = DSHOT1200\r\nset motor_pwm_rate = 32000\r\nset vbat_scale = 156\r\nset ibata_scale = 175\r\nset beeper_dshot_beacon_tone = 2\r\nset yaw_motors_reversed = ON\r\nset small_angle = 180\r\nset pid_process_denom = 2\r\nset osd_rssi_alarm = 50\r\nset osd_cap_alarm = 1200\r\nset osd_tim1 = 1280\r\nset osd_tim2 = 3841\r\nset osd_vbat_pos = 2466\r\nset osd_rssi_pos = 2422\r\nset osd_tim_1_pos = 2454\r\nset osd_tim_2_pos = 2486\r\nset osd_flymode_pos = 333\r\nset osd_throttle_pos = 225\r\nset osd_vtx_channel_pos = 377\r\nset osd_ah_pos = 200\r\nset osd_current_pos = 2434\r\nset osd_mah_drawn_pos = 2402\r\nset osd_craft_name_pos = 362\r\nset osd_gps_speed_pos = 218\r\nset osd_gps_lon_pos = 82\r\nset osd_gps_lat_pos = 65\r\nset osd_gps_sats_pos = 51\r\nset osd_home_dir_pos = 302\r\nset osd_home_dist_pos = 303\r\nset osd_compass_bar_pos = 266\r\nset osd_altitude_pos = 247\r\nset osd_pid_roll_pos = 423\r\nset osd_pid_pitch_pos = 455\r\nset osd_pid_yaw_pos = 487\r\nset osd_debug_pos = 1\r\nset osd_power_pos = 321\r\nset osd_pidrate_profile_pos = 345\r\nset osd_warnings_pos = 2409\r\nset osd_avg_cell_voltage_pos = 76\r\nset osd_pit_ang_pos = 257\r\nset osd_rol_ang_pos = 289\r\nset osd_battery_usage_pos = 392\r\nset osd_disarmed_pos = 2378\r\nset osd_nheading_pos = 311\r\nset osd_nvario_pos = 279\r\nset osd_esc_tmp_pos = 82\r\nset osd_esc_rpm_pos = 83\r\nset osd_stat_max_spd = OFF\r\nset debug_mode = GYRO_SCALED\r\nset vtx_band = 5\r\nset vtx_channel = 3\r\nset vtx_power = 5\r\nset vtx_freq = 5732\r\n\r\n# profile\r\nprofile 1\r\n\r\nset dterm_lowpass_hz = 80\r\nset dterm_lowpass2_hz = 160\r\nset dterm_notch_cutoff = 0\r\nset feedforward_transition = 10\r\nset iterm_relax = RP\r\nset throttle_boost = 8\r\nset p_pitch = 43\r\nset i_pitch = 65\r\nset d_pitch = 26\r\nset f_pitch = 100\r\nset p_roll = 40\r\nset i_roll = 60\r\nset d_roll = 21\r\nset f_roll = 80\r\nset i_yaw = 60\r\n\r\n# rateprofile\r\nrateprofile 1\r\n\r\nset thr_mid = 40\r\nset roll_rc_rate = 95\r\nset pitch_rc_rate = 95\r\nset yaw_rc_rate = 113\r\nset roll_expo = 10\r\nset pitch_expo = 10\r\nset yaw_expo = 10\r\nset roll_srate = 82\r\nset pitch_srate = 82\r\nset yaw_srate = 82\r\nset tpa_rate = 20\r\nset tpa_breakpoint = 1050"},"comment":{"url":"https://api.github.com/repos/betaflight/betaflight/issues/comments/431552250","html_url":"https://github.com/betaflight/betaflight/issues/6852#issuecomment-431552250","issue_url":"https://api.github.com/repos/betaflight/betaflight/issues/6852","id":431552250,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTU1MjI1MA==","user":{"login":"Strangedave","id":38626960,"node_id":"MDQ6VXNlcjM4NjI2OTYw","avatar_url":"https://avatars1.githubusercontent.com/u/38626960?v=4","gravatar_id":"","url":"https://api.github.com/users/Strangedave","html_url":"https://github.com/Strangedave","followers_url":"https://api.github.com/users/Strangedave/followers","following_url":"https://api.github.com/users/Strangedave/following{/other_user}","gists_url":"https://api.github.com/users/Strangedave/gists{/gist_id}","starred_url":"https://api.github.com/users/Strangedave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Strangedave/subscriptions","organizations_url":"https://api.github.com/users/Strangedave/orgs","repos_url":"https://api.github.com/users/Strangedave/repos","events_url":"https://api.github.com/users/Strangedave/events{/privacy}","received_events_url":"https://api.github.com/users/Strangedave/received_events","type":"User","site_admin":false},"created_at":"2018-10-20T05:54:53Z","updated_at":"2018-10-20T05:54:53Z","author_association":"NONE","body":"When you installed the Flight Controller it was by default set up to use the first gyro. (there are two) on the DALRC F722 that is an MPU6000 which is kind of old technology. When I say that I think I have had that gyro on everything I have done, and I have been playing with this stuff for a little more than a year now. The new thing 6 months ago was to sample the gyro faster, the MPU6000 was only capable of 8000KHz. So people have been adding ICM in this case ICM20602 gyros to flight controllers in an effort to run faster loop times. I'm not going to go into depth here there is a lot of info on the web. Basically faster loop times feels more responsive. so if you turn on the second gyro and crank up your loop time to 32/16 you should get better performance to a point. The Kwad (specifically my Kwad's are prone to crashing) and after the motors are slammed into the ground violently a few times they tend to produce too much vibration for the ICM gyros, but will still work with the MPU6000. The Kwad I'm working on now is brand new and should not be producing those bad vibrations, so I'm trying to get back onto the ICM gyro, but having problems. We will have to see if I have the mechanical skills necessary to find the issue and fix it. Don't worry about being new, the cool thing in this hobby is that almost everyone is new. I have a post on the BETAFLIGHT facebook page https://www.facebook.com/groups/betaflightgroup/permalink/241151723247378/  and I will continue to update both as I try different fixes, but nothing has worked so far. There is a DALRC engineer reading this thread also so I still hope the group will find a fix. \r\n\r\nP.S. Get onto YouTube and watch every Joshua Bardwell video you can. Lots of great info from that man."}}
{"actor":{"display_login":"Strangedave"}}