I am trying to take pictures of a simulation but I receive errors when running in Ubuntu 12.04. I originally setup OpenRAVE in Windows and was able to successfully run the code in Windows and capture images. Whenever I copied the code and ran it on a computer with Ubuntu, the code ran fine until it got to the point where it saves the image.
My code is:
env.SetViewer('qtcoin')
I = env.GetViewer().GetCameraImage(640, 480, T, [640, 640, 320, 240]) #T is a camera transform matrix
At which point it returned the error:
[qtcoinviewer.cpp:3157] offscreen renderer failed (check video driver), disabling
openrave (Failed): failed to get camera image
When running the visibilityplanning example, I received the same "offscreen renderer failed" error along with another "cannot render offscreen" which constantly repeats.
I found another post
here which mentions that it might be a driver issue. I attempted to find updated drivers, but any drivers I installed only made the problem worse, resulting in video issues displaying the OpenRAVE environment.
using lshw, my video card is:
RV516 [Radeon X1300/X1550 series]
using lspci:
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV516 [Radeon X1300/X1550 Series]
01:00.1 Display controller: Advanced Micro Devices [AMD] nee ATI RV516 [Radeon X1300 Pro] (Secondary)
Is there another viewer other than qtcoin that I can use or maybe a different command that I can use to capture images? Is the only solution to find correct drivers for the video card?
Alex