Bug report: LINK_FRAME and WORLD_FRAME inverted in applyExternalTorque in pyBullet #3586
Replies: 3 comments
-
I also have this issue with external torque. Right now, it seems to only be an issue when applying a link_frame torque on the base link. ex: p.applyExternalTorque(robotId, -1, [10,0,0], 1) |
Beta Was this translation helpful? Give feedback.
-
Has this eventually been fixed? Minimal reproducible example (from this work https://github.com/JacopoPan/gym-pybullet-drones):
|
Beta Was this translation helpful? Give feedback.
-
I think this might result from this if branch https://github.com/bulletphysics/bullet3/blob/master/examples/SharedMemory/PhysicsServerCommandProcessor.cpp#L11055
I think the bitwise comparison to assign Or is this the intender behaviour and there is something else I'm missing? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Issue: The flag LINK_FRAME and WORLD_FRAME seem inverted in the function applyExternalTorque in pybullet.
How to replicate:
Note that the function applyExternalForce is behaving correctly. The issue was already reported here:
https://pybullet.org/Bullet/phpBB3/viewtopic.php?t=11590
I am not sure where is the bug. The flags in python.c seem correct at this line. Maybe someone could try to replicate the issue in C++.
Beta Was this translation helpful? Give feedback.
All reactions