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 6 actuated degrees of freedom(UR5), but I am running into a couple of issues:
I expect the inverse dynamics to return a list of 6 joint torques, but when we call the function, it returns 15, which is confusing to me. Furthermore, it returns nans in the torques list, just like (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, nan, nan).
When I run the inverse dynamics function without the argument flag=0 then the function produces a warning message:
b3Printf: Inverse Dynamics computations failed pybullet.error: Error in calculateInverseDynamics, please check arguments.
I want to get the positions, velocities and accelerations of trajectory waypoints by ROS MoveIt Planner(OMPL). Then, I send the positions, velocities and accelerations to the calculateInverseDynamics() function for getting every joint torques. Moreover, I desire to use these joint torques send setJointMotorControlArray(TORQUE_CONTROL Mode). However, I meet above two problems. Could you mind pointing the mistake of this method to get joint torques?
Ps: I obey the example inverse_dynamics to transfer to my UR5 robot.
This discussion was converted from issue #4045 on December 09, 2021 22:22.
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.
-
Hello,
I am attempting to use the pybullet's calculateInverseDynamics() function for a floating base robot with 6 actuated degrees of freedom(UR5), but I am running into a couple of issues:
I expect the inverse dynamics to return a list of 6 joint torques, but when we call the function, it returns 15, which is confusing to me. Furthermore, it returns nans in the torques list, just like (0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, nan, nan).
When I run the inverse dynamics function without the argument flag=0 then the function produces a warning message:
b3Printf: Inverse Dynamics computations failed pybullet.error: Error in calculateInverseDynamics, please check arguments.
I want to get the positions, velocities and accelerations of trajectory waypoints by ROS MoveIt Planner(OMPL). Then, I send the positions, velocities and accelerations to the calculateInverseDynamics() function for getting every joint torques. Moreover, I desire to use these joint torques send setJointMotorControlArray(TORQUE_CONTROL Mode). However, I meet above two problems. Could you mind pointing the mistake of this method to get joint torques?
Ps: I obey the example inverse_dynamics to transfer to my UR5 robot.
Beta Was this translation helpful? Give feedback.
All reactions