Comments (4)
@preist-nvidia did you have time to look into this issue?
from physx.
Not yet, but it's on my list. And thank you for the excellent repro/bug report.
FYI, we are aware that the spherical articulation joints have several issues/inconsistencies that we are going to address after some higher-priority issues are done. A fix in 5.2.0 is unlikely at this point, however.
from physx.
@dtotsila - any chance you can try to work around this issue using an identity CmassLocalPose?
from physx.
Hi @dtotsila
thank you very much for reporting the issue and providing an excellent reproduction case.
I traced the instability down to a problem where the conversion from a quaternion to the angle-axis representation caused a flip of the joint angle by two pi. While visually not visible from the link state, this flip triggered the joint limits, which would then aggressively push the joint angle out of the limit and cause oscillatory motion.
The fix will appear in an upcoming release of PhysX. In the meantime, you can apply the following changes to your local version:
- In the function
PxQuat computeSphericalJointPositions(...)
in fileDyFeatherstoneForwardDynamic.cpp
and - In the function
PxTransform FeatherstoneArticulation::propagateTransform(...)
in fileDyFeatherstoneArticulation.cpp
, add the lines
if(jointRotation.w < 0.0f)
jointRotation = -jointRotation;
before that quaternion is converted into angle-axis format.
I hope this solves your problem. Please re-open the issue if it still persists after applying the changes.
from physx.
Related Issues (20)
- PxRigidBodyExt::setMassAndUpdateInertia of kinematic rigid actor with triangle mesh causes: Assertion failed: mG.isFinite() HOT 2
- setting driveForceLimit does not work HOT 2
- SDF cause CUDA error , even black screen (driver crash)
- SDF cause CUDA error , even black screen (driver crash?) HOT 4
- Increasing Damping ingnores ForceLimit of PxD6 Joint HOT 9
- PxCustomGeometryExt::BaseConvexCallbacks::raycast doesn't report back which fields are valid HOT 2
- Trigger emulation and character controller HOT 3
- Crash inside SAP Broad phase when there is too much collision pairs HOT 2
- issue with getting a center of mass
- Unable to compile with Clang - __m128 is not a structure or union HOT 3
- TGS solver does not support PxPairFlag::eNOTIFY_THRESHOLD_FORCE_... flags HOT 2
- Blast build for Visual Studio 2022
- I can not link physx 5.3.0 library from vcpkg into my project HOT 3
- Static contact forces are not correct on inclined plane HOT 5
- linux - cannot build libraries (error: 'src' is an unsafe pointer used for buffer access [-Werror,-Wunsafe-buffer-usage]) HOT 9
- Bad task scheduling due to lack of priority HOT 2
- How to read data from Flow HOT 4
- Wrong includes within physx/include/extensions/PxCustomGeometryExt.h HOT 1
- D6 Joint doesn't report drive force HOT 2
- Enabling eMODIFY_CONTACTS causes jitter on wall collision. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from physx.