You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am attempting to use the pybullet's calculateInverseDynamics() function for a floating base robot with 2 actuated degrees of freedom, but I am running into a couple of issues:
I expect the inverse dynamics to return a list of 8 joint torques, but when we call the function, it returns 9, which is confusing to me.
When I run the inverse dynamics function with the argument flag=1 the function returns a list of 9 "nans", instead of floats. Do you know why the function returns nans and not floats?
When I run the inverse dynamics function without the argument flag=1 then the function produces a warning message: b3Printf: Inverse Dynamics computations failed pybullet.error: Error in calculateInverseDynamics, please check arguments.
Attached is a simple test which reproduces these results. Please run 'PyBullet_Floating_2Dof.py' to reproduce the bugs.
Thank you in advance for any help you can provide.
This discussion was converted from issue #3149 on April 26, 2021 03:47.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am attempting to use the pybullet's calculateInverseDynamics() function for a floating base robot with 2 actuated degrees of freedom, but I am running into a couple of issues:
flag=1
the function returns a list of 9 "nans", instead of floats. Do you know why the function returns nans and not floats?flag=1
then the function produces a warning message:b3Printf: Inverse Dynamics computations failed pybullet.error: Error in calculateInverseDynamics, please check arguments.
Attached is a simple test which reproduces these results. Please run 'PyBullet_Floating_2Dof.py' to reproduce the bugs.
Thank you in advance for any help you can provide.
bullet_issue_ID.zip
Beta Was this translation helpful? Give feedback.
All reactions