Merge pull request #971 from YunfeiBai/master

A bug fix for logging the orientation of the base of the object.
This commit is contained in:
erwincoumans authored and GitHub committed 2017-02-22 13:39:45 -08:00
commit b452689ccf
1 file changed
+1 -1
@@ -649,7 +649,7 @@ struct GenericRobotStateLogger : public InternalStateLogger
logData.m_values.push_back(m_loggingTimeStamp);
btVector3 pos = mb->getBasePos();
btQuaternion ori = mb->getWorldToBaseRot();
btQuaternion ori = mb->getWorldToBaseRot().inverse();
btVector3 vel = mb->getBaseVel();
btVector3 omega = mb->getBaseOmega();