Updated include and variadic argument [xcode]
InverseDynamics example: * fixed the include path of the /Utils/b3ResourcePath.h file so that the example compiles in xcode. * converted std:string to c-string to be used as variadic argument, so that the example compilse in xcode.
This commit is contained in:
@@ -19,7 +19,7 @@ subject to the following restrictions:
|
|||||||
#include "BulletDynamics/Featherstone/btMultiBodyJointMotor.h"
|
#include "BulletDynamics/Featherstone/btMultiBodyJointMotor.h"
|
||||||
#include "BulletDynamics/Featherstone/btMultiBodyDynamicsWorld.h"
|
#include "BulletDynamics/Featherstone/btMultiBodyDynamicsWorld.h"
|
||||||
#include "../CommonInterfaces/CommonParameterInterface.h"
|
#include "../CommonInterfaces/CommonParameterInterface.h"
|
||||||
#include "../../Utils/b3ResourcePath.h"
|
#include "../Utils/b3ResourcePath.h"
|
||||||
#include "../Importers/ImportURDFDemo/BulletUrdfImporter.h"
|
#include "../Importers/ImportURDFDemo/BulletUrdfImporter.h"
|
||||||
#include "../Importers/ImportURDFDemo/URDF2Bullet.h"
|
#include "../Importers/ImportURDFDemo/URDF2Bullet.h"
|
||||||
#include "../Importers/ImportURDFDemo/MyMultiBodyCreator.h"
|
#include "../Importers/ImportURDFDemo/MyMultiBodyCreator.h"
|
||||||
@@ -129,7 +129,7 @@ void InverseDynamicsExample::initPhysics()
|
|||||||
//temporarily set some extreme damping factors until we have some joint control or constraints
|
//temporarily set some extreme damping factors until we have some joint control or constraints
|
||||||
m_multiBody->setAngularDamping(0.99);
|
m_multiBody->setAngularDamping(0.99);
|
||||||
m_multiBody->setLinearDamping(0.99);
|
m_multiBody->setLinearDamping(0.99);
|
||||||
b3Printf("Root link name = %s",u2b.getLinkName(u2b.getRootLinkIndex()));
|
b3Printf("Root link name = %s",u2b.getLinkName(u2b.getRootLinkIndex()).c_str());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user