Merge pull request #1045 from erwincoumans/master

revert to m_jointFriction (from m_jointFriction1)
This commit is contained in:
erwincoumans 2017-03-27 10:17:44 -07:00 committed by GitHub
commit c1e42daa0f
3 changed files with 4 additions and 4 deletions

View File

@ -60,7 +60,7 @@ template <typename T, typename U> void addJointInfoFromMultiBodyData(const T* mb
info.m_jointType = mb->m_links[link].m_jointType; info.m_jointType = mb->m_links[link].m_jointType;
info.m_jointDamping = mb->m_links[link].m_jointDamping; info.m_jointDamping = mb->m_links[link].m_jointDamping;
info.m_jointFriction1 = mb->m_links[link].m_jointFriction; info.m_jointFriction = mb->m_links[link].m_jointFriction;
info.m_jointLowerLimit = mb->m_links[link].m_jointLowerLimit; info.m_jointLowerLimit = mb->m_links[link].m_jointLowerLimit;
info.m_jointUpperLimit = mb->m_links[link].m_jointUpperLimit; info.m_jointUpperLimit = mb->m_links[link].m_jointUpperLimit;
info.m_jointMaxForce = mb->m_links[link].m_jointMaxForce; info.m_jointMaxForce = mb->m_links[link].m_jointMaxForce;
@ -80,4 +80,4 @@ template <typename T, typename U> void addJointInfoFromMultiBodyData(const T* mb
#endif //BODY_JOINT_INFO_UTILITY_H #endif //BODY_JOINT_INFO_UTILITY_H

View File

@ -174,7 +174,7 @@ struct b3JointInfo
int m_jointIndex; int m_jointIndex;
int m_flags; int m_flags;
double m_jointDamping; double m_jointDamping;
double m_jointFriction1; double m_jointFriction;
double m_jointLowerLimit; double m_jointLowerLimit;
double m_jointUpperLimit; double m_jointUpperLimit;
double m_jointMaxForce; double m_jointMaxForce;

View File

@ -2118,7 +2118,7 @@ static PyObject* pybullet_getJointInfo(PyObject* self, PyObject* args, PyObject*
PyTuple_SetItem(pyListJointInfo, 6, PyTuple_SetItem(pyListJointInfo, 6,
PyFloat_FromDouble(info.m_jointDamping)); PyFloat_FromDouble(info.m_jointDamping));
PyTuple_SetItem(pyListJointInfo, 7, PyTuple_SetItem(pyListJointInfo, 7,
PyFloat_FromDouble(info.m_jointFriction1)); PyFloat_FromDouble(info.m_jointFriction));
PyTuple_SetItem(pyListJointInfo, 8, PyTuple_SetItem(pyListJointInfo, 8,
PyFloat_FromDouble(info.m_jointLowerLimit)); PyFloat_FromDouble(info.m_jointLowerLimit));
PyTuple_SetItem(pyListJointInfo, 9, PyTuple_SetItem(pyListJointInfo, 9,