Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extended Tuning refresh not work #1217

Open
Andr3g2 opened this issue Jul 18, 2020 · 0 comments
Open

Extended Tuning refresh not work #1217

Andr3g2 opened this issue Jul 18, 2020 · 0 comments
Labels

Comments

@Andr3g2
Copy link

Andr3g2 commented Jul 18, 2020

Hallo,

On "howto config pid" written like:

  • set Ch6 Opt = CH6_RATE_KP....Min=0,1 ... Max=0,2
  • use Ch6 poti and look changes on "Extended Tuning" after <Refresh Params>
    but RAT_RLL_P already 0.1

it seems ExtendedTuning/Refresh reads values from the cache only. (see below)

version: v20.27_rc1
workaround: Full Parameter List: <Refresh>
then switch back to "Extended Tuning"
poss. solution: add: usecache=ignore if ch6opt!=none

regards Andre

`
$ apmplanner2.sh | egrep "ATC_RAT_..._P"
[20200718 19:33:12.167 DEBUG] - Param: "ATC_RAT_RLL_P" : QVariant(double, 0.1)
[20200718 19:33:12.257 DEBUG] - Param: "ATC_RAT_PIT_P" : QVariant(double, 0.1)
[20200718 19:33:12.262 DEBUG] - Param: "ATC_RAT_YAW_P" : QVariant(double, 0.12)
[20200718 19:33:16.460 DEBUG] - Param: "ATC_RAT_RLL_P" : QVariant(double, 0.1)
[20200718 19:33:16.462 DEBUG] - Param: "ATC_RAT_PIT_P" : QVariant(double, 0.1)
[20200718 19:33:16.560 DEBUG] - Param: "ATC_RAT_YAW_P" : QVariant(double, 0.12)

  • "Extended Tuning" Refresh Params
    [20200718 19:33:27.428 DEBUG] - Using param "ATC_RAT_PIT_P" from cache
    [20200718 19:33:27.428 DEBUG] - Param: "ATC_RAT_PIT_P" : QVariant(double, 0.1)
    [20200718 19:33:27.431 DEBUG] - Using param "ATC_RAT_RLL_P" from cache
    [20200718 19:33:27.431 DEBUG] - Param: "ATC_RAT_RLL_P" : QVariant(double, 0.1)
    [20200718 19:33:27.434 DEBUG] - Using param "ATC_RAT_YAW_P" from cache
    [20200718 19:33:27.434 DEBUG] - Param: "ATC_RAT_YAW_P" : QVariant(double, 0.12)

...
[20200718 19:34:58.743 DEBUG] - Using param "ATC_RAT_RLL_P" from cache
[20200718 19:34:58.744 DEBUG] - Param: "ATC_RAT_RLL_P" : QVariant(double, 0.1)
[20200718 19:34:58.744 DEBUG] - BasicPID: "ATC_RAT_RLL_P" : 0.1

  • Full Parameter List: Refresh
    [20200718 19:35:17.129 DEBUG] - Param: "ATC_RAT_RLL_P" : QVariant(double, 0.121)
    [20200718 19:35:17.129 DEBUG] - BasicPID: "ATC_RAT_RLL_P" : 0.121
    [20200718 19:35:17.133 DEBUG] - Param: "ATC_RAT_PIT_P" : QVariant(double, 0.121)
    [20200718 19:35:17.226 DEBUG] - Param: "ATC_RAT_YAW_P" : QVariant(double, 0.12)

`

@Arne-W Arne-W added the bug label Feb 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants