-
Notifications
You must be signed in to change notification settings - Fork 55
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
fix bug of extended-preview-controller #551
Merged
k-okada
merged 2 commits into
euslisp:master
from
Naoki-Hiraoka:fix-bag-of-extended-preview-controller
Aug 28, 2019
Merged
fix bug of extended-preview-controller #551
k-okada
merged 2 commits into
euslisp:master
from
Naoki-Hiraoka:fix-bag-of-extended-preview-controller
Aug 28, 2019
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
これで合っていると思います. |
Naoki-Hiraoka
changed the title
fix bag of extended-preview-controller
fix bug of extended-preview-controller
Jul 15, 2019
Naoki-Hiraoka
force-pushed
the
fix-bag-of-extended-preview-controller
branch
from
July 15, 2019 06:36
abd8608
to
9cc1d0f
Compare
fkanehiro/hrpsys-base#1280 |
すみません,もう一つ念の為確認で,予見制御ゲインのプロットも載せてもらえるでしょうか? |
ありがとう. |
@Naoki-Hiraoka テストコードも追加しましょう. |
Q,Rをともに10倍にしても結果が変わらないことを確認するテストコードを追加しました。 |
ありがとう.面倒だけど,一回コミットを整理して testのコミットをして,travisはしらせて,落ちるのを確認した後,次にfix bugのコミットをしてみてくれると助かります. |
Naoki-Hiraoka
force-pushed
the
fix-bag-of-extended-preview-controller
branch
from
August 27, 2019 10:50
6e68144
to
1c96381
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
extended-preview-cotrollerクラスの計算過程に誤りがありました。
以下の例では、
Q,Rの値がデフォルトの1.0と1e-6の場合は問題が生じませんが、
両方を1e6倍してQ,Rの値を1e6と1.0とすると、理論上はデフォルトの値の場合と同じ結果になるはずにもかかわらず、過大な制御入力が生じてIKエラーになります。
これを修正するPRです。
計算過程についての詳細は、
#550
で生成されたjmanual.pdfの「18.7.1歩行動作生成」の項をご覧ください(特に式(60)のあたり)。
恐らく、
https://github.com/fkanehiro/hrpsys-base/blob/5cbb5490f55c7017f7ff789c3d9de531ba92e1b6/rtc/AutoBalancer/PreviewController.cpp#L67
も同じ問題を抱えていると思います。