Restore original demo settings.
This commit is contained in:
@@ -231,7 +231,6 @@ public:
|
||||
slider.m_maxVal=1;
|
||||
m_guiHelper->getParameterInterface()->registerSliderFloatParameter(slider);
|
||||
}
|
||||
if (1)
|
||||
{
|
||||
b3RobotSimLoadFileArgs args("");
|
||||
b3RobotSimLoadFileResults results;
|
||||
@@ -241,7 +240,6 @@ public:
|
||||
args.m_useMultiBody = true;
|
||||
m_robotSim.loadFile(args, results);
|
||||
}
|
||||
if (1)
|
||||
{
|
||||
b3RobotSimLoadFileArgs args("");
|
||||
args.m_fileName = "gripper/wsg50_one_motor_gripper_new.sdf";
|
||||
|
||||
@@ -179,7 +179,7 @@ public:
|
||||
}
|
||||
virtual void stepSimulation(float deltaTime)
|
||||
{
|
||||
//m_robotSim.stepSimulation();
|
||||
m_robotSim.stepSimulation();
|
||||
}
|
||||
virtual void renderScene()
|
||||
{
|
||||
|
||||
@@ -967,7 +967,7 @@ void b3RobotSimAPI::renderScene()
|
||||
m_data->m_clientServerDirect->renderScene();
|
||||
}
|
||||
|
||||
//m_data->m_physicsServer.renderScene();
|
||||
m_data->m_physicsServer.renderScene();
|
||||
}
|
||||
|
||||
void b3RobotSimAPI::getBodyJacobian(int bodyUniqueId, int linkIndex, const double* localPosition, const double* jointPositions, const double* jointVelocities, const double* jointAccelerations, double* linearJacobian, double* angularJacobian)
|
||||
|
||||
Reference in New Issue
Block a user