diff --git a/src/main/cms/cms_menu_imu.c b/src/main/cms/cms_menu_imu.c index 34cff36348a..3488f343b5e 100644 --- a/src/main/cms/cms_menu_imu.c +++ b/src/main/cms/cms_menu_imu.c @@ -461,6 +461,8 @@ static const OSD_Entry cmsx_menuMechanicsEntries[] = OSD_SETTING_ENTRY("ITERM RELAX", SETTING_MC_ITERM_RELAX), OSD_SETTING_ENTRY("ITERM CUTOFF", SETTING_MC_ITERM_RELAX_CUTOFF), OSD_SETTING_ENTRY("CD LPF", SETTING_MC_CD_LPF_HZ), + OSD_SETTING_ENTRY("MC DTERM ATT START", SETTING_NAV_MC_VEL_XY_DTERM_ATTENUATION_START_SPEED), + OSD_SETTING_ENTRY("MC DTERM ATT END", SETTING_NAV_MC_VEL_XY_DTERM_ATTENUATION_END_SPEED), OSD_BACK_AND_END_ENTRY, }; diff --git a/src/main/fc/settings.yaml b/src/main/fc/settings.yaml index 962f3396b97..a12170a49bb 100644 --- a/src/main/fc/settings.yaml +++ b/src/main/fc/settings.yaml @@ -2058,14 +2058,14 @@ groups: max: 100 default_value: 90 # CR47 - - name: nav_mc_vel_xy_dterm_attenuation_start - description: "Horizontal velocity where nav_mc_vel_xy_dterm_attenuation begins [m/s]" + - name: nav_mc_vel_xy_dterm_attenuation_start_speed + description: "Horizontal speed at which nav_mc_vel_xy_dterm_attenuation begins [m/s]" default_value: 5 field: navVelXyDtermAttenuationStart min: 0 max: 100 - - name: nav_mc_vel_xy_dterm_attenuation_end - description: "Horizontal velocity where nav_mc_vel_xy_dterm_attenuation reaches maximum [m/s]" + - name: nav_mc_vel_xy_dterm_attenuation_end_speed + description: "Horizontal speed at which nav_mc_vel_xy_dterm_attenuation reaches maximum [m/s]" default_value: 10 field: navVelXyDtermAttenuationEnd min: 0 diff --git a/src/main/flight/pid.c b/src/main/flight/pid.c index 996d8139513..6be88a762d9 100644 --- a/src/main/flight/pid.c +++ b/src/main/flight/pid.c @@ -276,8 +276,8 @@ PG_RESET_TEMPLATE(pidProfile_t, pidProfile, .navVelXyDTermLpfHz = SETTING_NAV_MC_VEL_XY_DTERM_LPF_HZ_DEFAULT, .navVelXyDtermAttenuation = SETTING_NAV_MC_VEL_XY_DTERM_ATTENUATION_DEFAULT, - .navVelXyDtermAttenuationStart = SETTING_NAV_MC_VEL_XY_DTERM_ATTENUATION_START_DEFAULT, - .navVelXyDtermAttenuationEnd = SETTING_NAV_MC_VEL_XY_DTERM_ATTENUATION_END_DEFAULT, + .navVelXyDtermAttenuationStart = SETTING_NAV_MC_VEL_XY_DTERM_ATTENUATION_START_SPEED_DEFAULT, + .navVelXyDtermAttenuationEnd = SETTING_NAV_MC_VEL_XY_DTERM_ATTENUATION_END_SPEED_DEFAULT, .iterm_relax_cutoff = SETTING_MC_ITERM_RELAX_CUTOFF_DEFAULT, .iterm_relax = SETTING_MC_ITERM_RELAX_DEFAULT,