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

:calc-static-balance-point が一回目はnanが入っている #330

Closed
mmurooka opened this issue Jan 7, 2016 · 3 comments
Closed

:calc-static-balance-point が一回目はnanが入っている #330

mmurooka opened this issue Jan 7, 2016 · 3 comments

Comments

@mmurooka
Copy link
Member

mmurooka commented Jan 7, 2016

1回目だけ,x,y成分が-nanになります.
2回目以降は正しい値が返って来ます.
samplerobot, HRP2, JAXON のeusモデルで起きることを確認しました.

2.irteusgl$ (samplerobot-init)
#<samplerobot-robot #X5a6aca8 SampleRobot  0.0 0.0 0.0 / 0.0 0.0 0.0>
3.irteusgl$ (send *sr* :calc-static-balance-point)
#f(-nan -nan 55.35)
4.irteusgl$ (send *sr* :calc-static-balance-point)
#f(12.913 -0.002859 55.35)
@mmurooka
Copy link
Member Author

mmurooka commented Jan 7, 2016

https://github.com/euslisp/jskeus/blob/master/irteus/irtrobot.l#L1004
で,0が返って来ます.

@snozawa
Copy link
Contributor

snozawa commented Jan 7, 2016

Solved via #332

@snozawa snozawa closed this as completed Jan 7, 2016
@mmurooka
Copy link
Member Author

mmurooka commented Jan 7, 2016

Thank you.

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

2 participants