Page 1 of 1

calculateInverseDynamics is not working correctly on floating base humanoid

Posted: Tue Dec 03, 2019 4:47 pm
by soshi
Hello.
I'm trying to use pybullet.calculateInverseDynamics function on my floating base humanoid.
It was showing error:

Code: Select all

pybullet.error: Error in calculateInverseDynamics, please check arguments.
Then I found an example code of the function in pdControllerStable.py. Following the code, I provided "flags=1" as an argument of calculateInverseDynamics function. Then, it stops showing error, but all the returned value is always 0.
So my question is,
1) What does "flags" mean in calculateInverseDynamics function?
2) Is there any way to use calculateInverseDynamics for a floating base robot considering the floor force?

Thanks in advance!