-
Notifications
You must be signed in to change notification settings - Fork 86
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
overwrite preview queue without clearing queue #1140
Conversation
queueを書き換えるときのindexが一つ間違っていたので修正しました. |
これは実機でも時間を確認してみたかな? |
手元のPCおよびJAXONREDで,元の1/3程度の時間になりました.
test17のときのref_zmp, cart_zmp, cogを出力してみて,修正後のPRとmasterとの間でdiffがないことを確認しました. |
これは添字アクセスも(本来はそんなにはやいものでないけど)clearよりはよかったということかな? あとすごくお手数ですが、test0~test18の出力も確認してもらえると助かります。 グラフは
のdiffを加えてもらって、
としたら/tmp/以下にtestGaitGeneratorResults_test*.jpgという結果がでてくるかな。 |
通常なら添字アクセスも速くないですが,最適化オプションがついている状態なら毎回clearして入れるよりは速いようです.
チェックしてみてmasterとのdiffはなさそうでした. |
LGTM. @fkanehiroさん |
あとすごくお手数ですが、test0~test18の出力も確認してもらえると助かります。
これは出力がおかしかったらテスト落ちるようにはなっていないのかな.
https://github.com/fkanehiro/hrpsys-base/blob/master/sample/SampleRobot/samplerobot_sequence_player.py#L98
も見てて気になったんだけど、ここもエラーチェックしていなくて表示だけなんだけど、なんか理由があるのかな.
…--
◉ Kei Okada
2017-05-25 9:38 GMT+09:00 Shunichi Nozawa <[email protected]>:
LGTM.
@fkanehiro <https://github.com/fkanehiro>さん
travis通りましたのでご確認いただけますと幸いです。
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1140 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAeG3Bim21m-KfrckQoKtYgX5RqJ4DgXks5r9M2KgaJpZM4NjmU->
.
|
そうですね。
これは単純にチェックもれのようです。 |
@YutaKojio |
rebase masterしてpushし直しました. |
LGTM. @fkanehiroさん |
目標着地位置を変えた時に呼ばれる
overwrite_refzmp_queue
関数内のpreview contorollerのqueueをclearする部分が遅かったので,clearせずに上書くように変更しました.
また,着地位置修正の際,毎制御周期ではなく
is_emergency_walking
のときのみoverwrite_refzmp_queue
を呼ぶようにしました.よろしくお願いします.