Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ def setStAbcParametershrp2017c(self):
abcp=self.abc_svc.getAutoBalancerParam()[1]
#abcp.default_zmp_offsets = [[0.015, -0.01, 0], [0.015, 0.01, 0], [0, 0, 0], [0, 0, 0]]
#abcp.default_zmp_offsets = [[0.015, 0.01, 0], [0.015, -0.01, 0], [0, 0, 0], [0, 0, 0]]
abcp.default_zmp_offsets = [[0.01, 0.01, 0], [0.01, -0.01, 0], [0, 0, 0], [0, 0, 0]]
#abcp.default_zmp_offsets = [[0.01, 0.01, 0], [0.01, -0.01, 0], [0, 0, 0], [0, 0, 0]] # before 2018/07/01 murooka
abcp.default_zmp_offsets = [[0.02, 0.01, 0], [0.02, -0.01, 0], [0, 0, 0], [0, 0, 0]] # after 2018/07/01 murooka
self.abc_svc.setAutoBalancerParam(abcp)
# ST parameters
stp=self.st_svc.getParameter()
Expand Down Expand Up @@ -141,6 +142,9 @@ def setStAbcParametershrp2017c(self):
# for swing
stp.eefm_swing_pos_spring_gain = [[1]*3, [1]*3, [0]*3, [0]*3]
stp.eefm_swing_rot_spring_gain = [[1]*3, [1]*3, [0]*3, [0]*3]
# IK
for ikp in stp.ik_limb_parameters:
ikp.ik_loop_count=1
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

stabilizer自体のik_loop_countは3ですが、1になっても問題ないでしょうか?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hrp2017のhrpsysで、ハンドが固まる、hrpsysでTimeoverが出て歩いていてガタガタしだして転びそうになる、ros_bridgeの通信が重くなって力センサのトピックがとれなくなる、などの問題を@snozawaさんに言った時に、体内ローカルに加えてくれた変更で、今までこれがある状態で、デモやみんなの実験ができていたので大丈夫だと思います。この変更はsetStAbcParametershrp2017c内なので、17号機にしか影響しません。

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

なるほど、承知しました。

self.st_svc.setParameter(stp)
# GG parameters
gg=self.abc_svc.getGaitGeneratorParam()[1]
Expand Down