Search found 6 matches
- Fri Jun 17, 2022 3:33 am
- Forum: PyBullet Support and Feedback
- Topic: Changing background color or texture?
- Replies: 3
- Views: 106744
Re: Changing background color or texture?
Regarding this, I find myself unable to change the background color (which will remain light purple) either in the GUI window or in DIRECT mode when using the code above. I have experienced this issue with pybullet 3.2.5 on the following OS/python versions - python 3.9.12 on MAC OS 11.6.5 - python 3...
- Wed Jun 15, 2022 5:52 pm
- Forum: PyBullet Support and Feedback
- Topic: p.getCameraImage stuck after a few calls
- Replies: 3
- Views: 68237
Re: p.getCameraImage stuck after a few calls
I did solve my issue by switching to 'eglRenderer', e.g., by adding the following lines (from https://github.com/bulletphysics/bullet3/blob/master/examples/pybullet/examples/eglRenderTest.py ) upon initialization: # Initialize pybullet connection_mode=p.DIRECT self.ch = bc.BulletClient(connection_mo...
- Wed Jun 15, 2022 3:33 pm
- Forum: PyBullet Support and Feedback
- Topic: p.getCameraImage stuck after a few calls
- Replies: 3
- Views: 68237
Re: p.getCameraImage stuck after a few calls
I do experience a similar issue - querying p.getCameraImage for a large number of times causes the function to hang. I am using pybullet.ER_TINY_RENDERER. Has anyone else experienced the same issue and found a solution?
- Tue Jul 27, 2021 2:00 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Bad inertia tensor properties, setting inertia to zero for link
- Replies: 1
- Views: 4039
Bad inertia tensor properties, setting inertia to zero for link
When trying load an URDF via loadURDF() with flag URDF_USE_INERTIA_FROM_FILE I have noticed that pybullet will set the inertia to zero if the sum of the inertia on two principal components of the inertia tensor is smaller than the third remaining (for example if i_xx + i_yy < i_zz), throwing the err...
- Fri Jul 09, 2021 7:58 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: What is the sequence of rotations applied by "getEulerFromQuaternion"?
- Replies: 2
- Views: 4938
Re: What is the sequence of rotations applied by "getEulerFromQuaternion"?
Thank you for your reply. I was referring to the "getEulerFromQuaternion" method in the python interface. I have just noticed that the output of help() says that getQuaternionFromEuler(...) Convert Euler [roll, pitch, yaw] as in URDF/SDF convention, to quaternion [x,y,z,w] so is potentiall...
- Thu Jul 08, 2021 5:58 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: What is the sequence of rotations applied by "getEulerFromQuaternion"?
- Replies: 2
- Views: 4938
What is the sequence of rotations applied by "getEulerFromQuaternion"?
As in the title, how are the Euler angles provided by the getEulerFromQuaternion method computed?
What is the sequence of rotations (about x, y, z, but in which order?) and they are computed in a fixed frame or in a moving frame (intrinsic or extrinsic)?
Thanks!
What is the sequence of rotations (about x, y, z, but in which order?) and they are computed in a fixed frame or in a moving frame (intrinsic or extrinsic)?
Thanks!