disable dead code
This commit is contained in:
@@ -4083,6 +4083,7 @@ void PhysicsServerCommandProcessor::createDefaultRobotAssets()
|
|||||||
}
|
}
|
||||||
|
|
||||||
//directly set the position of the links, only for debugging IK, don't use this method!
|
//directly set the position of the links, only for debugging IK, don't use this method!
|
||||||
|
#if 0
|
||||||
if (0)
|
if (0)
|
||||||
{
|
{
|
||||||
for (int i=0;i<mb->getNumLinks();i++)
|
for (int i=0;i<mb->getNumLinks();i++)
|
||||||
@@ -4091,6 +4092,7 @@ void PhysicsServerCommandProcessor::createDefaultRobotAssets()
|
|||||||
mb->setJointPosMultiDof(i,&desiredPosition);
|
mb->setJointPosMultiDof(i,&desiredPosition);
|
||||||
}
|
}
|
||||||
} else
|
} else
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
int numMotors = 0;
|
int numMotors = 0;
|
||||||
//find the joint motors and apply the desired velocity and maximum force/torque
|
//find the joint motors and apply the desired velocity and maximum force/torque
|
||||||
|
|||||||
Reference in New Issue
Block a user