Page 1 of 1

Pybullet: pendulum swing independent of moment of inertia

Posted: Sat May 27, 2017 7:28 pm
by ryan72
Attached in a minimum working example of two bars swinging. Each bar is 1 m long and weighs 1 kg. The center of mass of each bar is at the end. The diagonal terms of the moment of Inertia tensor are 9999 for one and 0 for the other. One should behave like a simple pendulum, while the other should fall very slowly.

In pybullet they both behave identically. As expected, the simple pendulum's period is slightly longer than the small angle period of 2*pi*sqrt(1/9.8 ) or 2.01 s probably due to the reasons discussed here http://www.bulletphysics.org/Bullet/php ... =9&t=11694. Is there any reason why the pendulum with large moment of inertia does not fall slowly?