About the calculation of Frame velocity #269
Answered
by
jhwangbo
XuSen-Proto
asked this question in
Q&A
-
I have implemented a bipe robot simulation using MATLAB and Raisim. I gave the states q and their derivetives u, and then chose one frame to get the Frame Jocabian J and the frame velocity v using the API. It turns out that the equation v = Ju doesn't hold, I wonder why. |
Beta Was this translation helpful? Give feedback.
Answered by
jhwangbo
Feb 16, 2022
Replies: 2 comments 10 replies
-
can you share your code? |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
XuSen-Proto
-
The code is in the attachment and the execution environment is MATLAB R2021b. Run demo.m, and you will find that the frame jacobian will be OK once the function setGeneralizedCoordinate is called, but the Frame Velocity will not equal Ju until the functions setGeneralizedCoordinate and getFrameAngularVelocity are called twice. Also, the nonlinear force terms from the two calculations are different, and the result is shown in the picture. The amended MATLAB interface, raisim_interface_mex.cpp, where the bug of getNonlinearForce is fixed, is also given in the attachment. I'm looking forward to your reply.
…------------------ 原始邮件 ------------------
发件人: "raisimTech/raisimLib" ***@***.***>;
发送时间: 2022年2月16日(星期三) 晚上10:34
***@***.***>;
***@***.******@***.***>;
主题: Re: [raisimTech/raisimLib] About the calculation of Frame velocity (Discussion #269)
can you share your code?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
can you share your code?