-
Notifications
You must be signed in to change notification settings - Fork 9
[interface] Base part of wbm_getState is broken and needs tests #47
Comments
To make sure that everything is properly working, I suggest that we do some consistency tests together with |
Anyway the effect of the simulations is limited, as getState was used only to get the initial configuration of the base. |
I don't think I have really understand this problem. I mean, in the balancing controller wbm_getState is used only at the beginning and only to obtain the identity since wbm_setWorldLink sets exactly the identity transform. But if I put wbm_getState in forwardDynamics just to see what happens the quaternion returned by getState changes, it's still a valid quaternion and the associated rotation matrix is not the identity so I don't think I understand this problem properly |
I'll explain what I found in the code: The fact that you mention Anyway a general comment: the fact that a computed quantity changes and is not the defuault does not mean that it is correctly computed! |
Tackled in #52 |
In particular, the base state was undefined because it was taken from the returned value of a function that was not returning anything (see 0437e08#commitcomment-13937981 ).
I guess the function is always returning the identity transform in practice.
Fixed in 0437e08 , still need to be fixed in master.
The text was updated successfully, but these errors were encountered: