Merge pull request #546 from erwincoumans/master

typo fixes in InverseDynamicsExample
This commit is contained in:
erwincoumans 2015-12-07 15:07:24 -08:00
commit ab283251d3
3 changed files with 3 additions and 4 deletions

Binary file not shown.

View File

@ -280,9 +280,9 @@ void InverseDynamicsExample::stepSimulation(float deltaTime)
for (int i=0;i<num_dofs;i++)
{
nu6[6+i] = nu[i];
qdot6[6+i] = qdot6[i];
q6[6+i] = q6[i];
joint_force6[6+i] = joint_force6[i];
qdot6[6+i] = qdot[i];
q6[6+i] = q[i];
joint_force6[6+i] = joint_force[i];
}
if(-1 != m_inverseModel->calculateInverseDynamics(q6,qdot6,nu6,&joint_force6))
{

View File

@ -9,7 +9,6 @@
#include <cstdlib>
#include <functional>
#include <string>
#include <random>
#include <btBulletDynamicsCommon.h>
#include <btMultiBodyTreeCreator.hpp>