Add C++ version VRGloveSimulatorMain example, using the serial library.

First run the App_PhysicsServer_SharedMemory_VR_vs2010.exe to run the VR server,
then run App_VRGloveHandSimulator. You likely need to tune the minV/maxV for each finger (check values using Arduino IDE Serial Monitor)
This commit is contained in:
Erwin Coumans
2017-05-01 22:35:33 -07:00
parent 305725e52e
commit 9fef6c1d66
13 changed files with 610 additions and 153 deletions

View File

@@ -2196,9 +2196,10 @@ bool PhysicsServerCommandProcessor::loadUrdf(const char* fileName, const btVecto
}
}
}
}
#endif
std::string* baseName = new std::string(u2b.getLinkName(u2b.getRootLinkIndex()));
}
std::string* baseName = new std::string(u2b.getLinkName(u2b.getRootLinkIndex()));
m_data->m_strings.push_back(baseName);
mb->setBaseName(baseName->c_str());