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

JointPathExの重み計算部分が原因で振動的な挙動になる #516

Closed
snozawa opened this issue Mar 16, 2015 · 1 comment
Closed

Comments

@snozawa
Copy link
Contributor

snozawa commented Mar 16, 2015

JointPathExの重み計算部分が原因で振動的な挙動になります。
https://github.com/fkanehiro/hrpsys-base/blob/master/rtc/ImpedanceController/JointPathEx.cpp#L149

この部分で、
 可動域限界に近づく場合は重みを下げる
 可動域限界から遠ざける場合は重みを1にする
となるのですが、これが原因で戻りが急激に振動的な挙動になります。
微小な振動(センサフィードバックありでの振動や、センサフィードバックなしでも角度が可動域に近づく・遠ざかるが切り替わるようなとき)があるときに、重みが不連続にかわり、その結果関節角速度も不連続におおきく変わるためです。

https://github.com/fkanehiro/hrpsys-base/blob/master/rtc/ImpedanceController/JointPathEx.cpp#L152
を1.0でなくて、
https://github.com/fkanehiro/hrpsys-base/blob/master/rtc/ImpedanceController/JointPathEx.cpp#L150
にして、関節可動域限界へ近づく・遠ざかるによらず重みを決定すると、振動的にならなくなります。

https://github.com/fkanehiro/openhrp3/pull/50にも関係します。)

snozawa added a commit to snozawa/hrpsys-base that referenced this issue Apr 29, 2015
…eval=true (true by default), inward joint weight retrievs to 1.0 (original). Otherwise, always weight is calculated from joint limit to solve fkanehiro#516
snozawa added a commit to snozawa/hrpsys-base that referenced this issue Apr 29, 2015
…roller, AutoBalancer, Stabilizer to reduce oscillation (fkanehiro#516)
@snozawa
Copy link
Contributor Author

snozawa commented Jun 12, 2015

#610
で一時解決しました。

@snozawa snozawa closed this as completed Jun 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant