re-enable shared memory connection for pybullet Gym envs (with fallback to GUI or DIRECT)

suppress shared memory connection warnings
add fallback from ER_BULLET_HARDWARE_OPENGL to TinyRenderer if not available
This commit is contained in:
Erwin Coumans
2017-09-13 09:56:39 -07:00
parent cc9995d44b
commit c250a5f0b9
9 changed files with 25 additions and 12 deletions

View File

@@ -78,7 +78,7 @@ struct PhysicsClientSharedMemoryInternalData {
m_hasLastServerStatus(false),
m_sharedMemoryKey(SHARED_MEMORY_KEY),
m_verboseOutput(false),
m_timeOutInSeconds(1e30)
m_timeOutInSeconds(5)
{}
void processServerStatus();
@@ -311,7 +311,7 @@ bool PhysicsClientSharedMemory::connect() {
m_data->m_isConnected = true;
}
} else {
b3Warning("Cannot connect to shared memory");
//b3Warning("Cannot connect to shared memory");
return false;
}
#if 0