MJCF: support for "axisangle", small code improvements

This commit is contained in:
Oleg Klimov committed 2017-05-06 14:49:43 +03:00
1 parent 49eda303bc
commit 1524004aa8
3 files changed
+30 -26

No files matched your search

@@ -285,6 +285,9 @@ void ConvertURDF2BulletInternal(
if (!(flags & CUF_USE_URDF_INERTIA))
{
compoundShape->calculateLocalInertia(mass, localInertiaDiagonal);
assert(localInertiaDiagonal[0] < 1e10);
assert(localInertiaDiagonal[1] < 1e10);
assert(localInertiaDiagonal[2] < 1e10);
}
URDFLinkContactInfo contactInfo;
u2b.getLinkContactInfo(urdfLinkIndex,contactInfo);