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:
@@ -258,6 +258,7 @@ void testSharedMemory(b3PhysicsClientHandle sm)
|
||||
command = b3InitRequestCameraImage(sm);
|
||||
|
||||
b3RequestCameraImageSetPixelResolution(command, width, height);
|
||||
b3RequestCameraImageSelectRenderer(command,ER_BULLET_HARDWARE_OPENGL);
|
||||
statusHandle = b3SubmitClientCommandAndWaitStatus(sm, command);
|
||||
}
|
||||
|
||||
@@ -298,7 +299,10 @@ void testSharedMemory(b3PhysicsClientHandle sm)
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
} else
|
||||
{
|
||||
b3Warning("Cannot submit commands.\n");
|
||||
}
|
||||
|
||||
|
||||
b3DisconnectSharedMemory(sm);
|
||||
|
||||
Reference in New Issue
Block a user