Errors when i execute python examples.

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Errors when i execute python examples.

serna92
Hello,

I'm using Ubuntu 14.04.4 (Trusty Tahr). I achieved to install openrave 0.9.0 with the Master branch. I'm using boost 1.54.


- When i insert the command "sudo openrave0.9.py --example hanoi" i get the next lines:


WARNING: QApplication was not created in the main() thread.
[colladareader.cpp:1977 ExtractLink] bad joint resolution 0.000000
[colladareader.cpp:1977 ExtractLink] bad joint resolution 0.000000
[colladareader.cpp:1977 ExtractLink] bad joint resolution 0.000000
[colladareader.cpp:1977 ExtractLink] bad joint resolution 0.000000
[colladareader.cpp:1977 ExtractLink] bad joint resolution 0.000000
[colladareader.cpp:1977 ExtractLink] bad joint resolution 0.000000
[colladareader.cpp:1977 ExtractLink] bad joint resolution 0.000000
[colladareader.cpp:1977 ExtractLink] bad joint resolution 0.000000
[ikfastsolver.cpp:215 Init] inverse kinematics hashes do not match for manip Puma:arm. IK will not work! 74458059fde60df7401cc1dfcfa06d15!=a6c70e6dd694838553470dde754d5825
openravepy.databases.linkstatistics: generate, Generating link volume points, sampling delta = 0.020000
openravepy.databases.linkstatistics: generate, link 0/9


- When i insert the command "sudo openrave0.9.py --example constraintplanning" i get the next lines:


WARNING: QApplication was not created in the main() thread.
[kinbody.cpp:3378 _ComputeInternalInformation] failed to set mimic equations on kinematics body BarrettWAM: openrave (InvalidArguments): [virtual void OpenRAVE::KinBody::Joint::SetMimicEquations(int, const string&, const string&, const string&):1144] failed to set equation 'JF1/3+0.8727' on BarrettWAM:JF1mimic, at 10. Error is Syntax error: Operator expected

openravepy.databases.inversekinematics: GetDefaultIndices, found 3-intersection centered on index 1
openravepy.databases.inversekinematics: GetDefaultIndices, found 3-intersection centered on index 5
Generating Grasp Set for BarrettWAM:arm:mug1
setting preshape  [ 0.  0.  0.  0.]
grasp 0/1104
grasp 1/1104
grasp 2/1104
grasp 3/1104


- When i insert the command "sudo openrave0.9.py --example inversekinematicspick" i get the next lines:


WARNING: QApplication was not created in the main() thread.
[kinbody.cpp:3378 _ComputeInternalInformation] failed to set mimic equations on kinematics body BarrettWAM: openrave (InvalidArguments): [virtual void OpenRAVE::KinBody::Joint::SetMimicEquations(int, const string&, const string&, const string&):1144] failed to set equation 'JF1/3+0.8727' on BarrettWAM:JF1mimic, at 10. Error is Syntax error: Operator expected

<manipulator:arm, parent=BarrettWAM>
openravepy.databases.inversekinematics: GetDefaultIndices, found 3-intersection centered on index 1
openravepy.databases.inversekinematics: GetDefaultIndices, found 3-intersection centered on index 5
creating picker for <manipulator:arm, parent=BarrettWAM>
pickers loaded, try moving them


- When i insert the command "sudo openrave0.9.py --example visibilityplanning" i get the next lines:


WARNING: QApplication was not created in the main() thread.
[colladareader.cpp:1977 ExtractLink] bad joint resolution 0.000000
[colladareader.cpp:1977 ExtractLink] bad joint resolution 0.000000
[colladareader.cpp:1977 ExtractLink] bad joint resolution 0.000000
[colladareader.cpp:1977 ExtractLink] bad joint resolution 0.000000
[colladareader.cpp:1977 ExtractLink] bad joint resolution 0.000000
[colladareader.cpp:1977 ExtractLink] bad joint resolution 0.000000
[colladareader.cpp:1977 ExtractLink] bad joint resolution 0.000000
[qtcoinviewer.cpp:3448 _GetCameraImage] offscreen renderer failed (check video driver), disabling
[qtcoinviewer.cpp:3401 _GetCameraImage] cannot render offscreen
[qtcoinviewer.cpp:3401 _GetCameraImage] cannot render offscreen
[qtcoinviewer.cpp:3401 _GetCameraImage] cannot render offscreen
[qtcoinviewer.cpp:3401 _GetCameraImage] cannot render offscreen
[qtcoinviewer.cpp:3401 _GetCameraImage] cannot render offscreen
[qtcoinviewer.cpp:3401 _GetCameraImage] cannot render offscreen
[qtcoinviewer.cpp:3401 _GetCameraImage] cannot render offscreen
[qtcoinviewer.cpp:3401 _GetCameraImage] cannot render offscreen
[qtcoinviewer.cpp:3401 _GetCameraImage] cannot render offscreen
[qtcoinviewer.cpp:3401 _GetCameraImage] cannot render offscreen
[qtcoinviewer.cpp:3401 _GetCameraImage] cannot render offscreen
[qtcoinviewer.cpp:3401 _GetCameraImage] cannot render offscreen
[qtcoinviewer.cpp:3401 _GetCameraImage] cannot render offscreen
[qtcoinviewer.cpp:3401 _GetCameraImage] cannot render offscreen
[qtcoinviewer.cpp:3401 _GetCameraImage] cannot render offscreen
[qtcoinviewer.cpp:3401 _GetCameraImage] cannot render offscreen
[qtcoinviewer.cpp:3401 _GetCameraImage] cannot render offscreen
[qtcoinviewer.cpp:3401 _GetCameraImage] cannot render offscreen
[qtcoinviewer.cpp:3401 _GetCameraImage] cannot render offscreen
[qtcoinviewer.cpp:3401 _GetCameraImage] cannot render offscreen
moving arm
[qtcoinviewer.cpp:3401 _GetCameraImage] cannot render offscreen
moving hand
[qtcoinviewer.cpp:3401 _GetCameraImage] cannot render offscreen
[qtcoinviewer.cpp:3401 _GetCameraImage] cannot render offscreen
[ikfastsolver.cpp:215 Init] inverse kinematics hashes do not match for manip PA10:arm. IK will not work! 79ad114584af0a92b5fbc3a8cefced90!=a880a8d13e2c46e5d0cd99a17f516b86
[qtcoinviewer.cpp:3401 _GetCameraImage] cannot render offscreen
Traceback (most recent call last):
  File "/usr/local/bin/openrave0.9.py", line 149, in <module>
    example.run(args=args)
  File "/usr/local/lib/python2.7/dist-packages/openravepy/_openravepy_0_9/openravepy_ext.py", line 64, in newfn
    return fn(*args,**kwargs)
  File "/usr/local/lib/python2.7/dist-packages/openravepy/_openravepy_0_9/examples/visibilityplanning.py", line 429, in run
    OpenRAVEGlobalArguments.parseAndCreateThreadedUser(options,main,defaultviewer=True)
  File "/usr/local/lib/python2.7/dist-packages/openravepy/_openravepy_0_9/misc.py", line 239, in parseAndCreateThreadedUser
    SetViewerUserThread(env,viewername,lambda: userfn(env,options))
  File "/usr/local/lib/python2.7/dist-packages/openravepy/_openravepy_0_9/misc.py", line 101, in SetViewerUserThread
    userfn()
  File "/usr/local/lib/python2.7/dist-packages/openravepy/_openravepy_0_9/misc.py", line 239, in <lambda>
    SetViewerUserThread(env,viewername,lambda: userfn(env,options))
  File "/usr/local/lib/python2.7/dist-packages/openravepy/_openravepy_0_9/examples/visibilityplanning.py", line 411, in main
    scene.start()
  File "/usr/local/lib/python2.7/dist-packages/openravepy/_openravepy_0_9/examples/visibilityplanning.py", line 222, in start
    vmodel = self.computevisibilitymodel(self.target)
  File "/usr/local/lib/python2.7/dist-packages/openravepy/_openravepy_0_9/examples/visibilityplanning.py", line 125, in computevisibilitymodel
    vmodel.autogenerate()
  File "/usr/local/lib/python2.7/dist-packages/openravepy/_openravepy_0_9/databases/visibilitymodel.py", line 205, in autogenerate
    self.generate(preshapes=preshapes,sphere=sphere,conedirangles=conedirangles)
  File "/usr/local/lib/python2.7/dist-packages/openravepy/_openravepy_0_9/databases/visibilitymodel.py", line 220, in generate
    sensordata = sensor.GetSensorData(Sensor.Type.Camera)
openravepy._openravepy_0_9.openravepy_ext.openrave_exception: openrave (Failed): SensorData failed
QThreadStorage: Thread 0x7f6f2400c860 exited after QThreadStorage 6 destroyed
QThreadStorage: Thread 0x7f6f2400c860 exited after QThreadStorage 5 destroyed
QThreadStorage: Thread 0x7f6f2400c860 exited after QThreadStorage 4 destroyed
QThreadStorage: Thread 0x7f6f2400c860 exited after QThreadStorage 3 destroyed
QThreadStorage: Thread 0x7f6f2400c860 exited after QThreadStorage 2 destroyed
QThreadStorage: Thread 0x7f6f2400c860 exited after QThreadStorage 1 destroyed


I also insert a screenshot of the application when I execute the example Hanoi:




I look forward to hearing from you as soon as possible to resolve my problem.

Reply | Threaded
Open this post in threaded view
|

Re: Errors when i execute python examples.

serna92
Is Openrave compatible with Ubuntu Desktop 14.04 LTS? I followed a lot of tutorials without success. I can't get openrave working properly. I'm installing it by compiling the master branch. The maximum I got is showed in this post. Anyone who achieved it can explain me how to install it correctly?

Thanks.
Reply | Threaded
Open this post in threaded view
|

Re: Errors when i execute python examples.

amatt
Although I'm also having different problems on Trusty with Openrave, I can run the example you are trying to.  It looks like you are having a dependency problem, most likely with qt.  I would carefully examine the output of your make command and make sure you have all the required things.
Reply | Threaded
Open this post in threaded view
|

Re: Errors when i execute python examples.

serna92
Thanks for reply, here i post the output of the make command:

make_output.txt
Reply | Threaded
Open this post in threaded view
|

Re: Errors when i execute python examples.

amatt
This post was updated on .
> Sorry, I was thinking of the cmake part where it does the dependency
> checking.  In any event I would be tempted to make clean that and
> follow this description...it is pretty good.  It is pretty much what I
> did
>
> http://hepeng.me/install-openrave-0-9-on-ubuntu-14-04/
>
> On 03/25/2016 07:01 AM, serna92 wrote:
>> Thanks for reply, here i post the output of the make command:
>>
>> make_output.txt
>> <http://openrave-users-list.185357.n3.nabble.com/file/n4027752/make_output.txt
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://openrave-users-list.185357.n3.nabble.com/Errors-when-i-execute-python-examples-tp4027742p4027752.html
>> Sent from the OpenRAVE Users List mailing list archive at Nabble.com.
>>
>> ------------------------------------------------------------------------------
>>
>> Transform Data into Opportunity.
>> Accelerate data analysis in your applications with
>> Intel Data Analytics Acceleration Library.
>> Click to learn more.
>> http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
>> _______________________________________________
>> Openrave-users mailing list
>> Openrave-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/openrave-users
>> .
>>
>



------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
Openrave-users mailing list
Openrave-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openrave-users
Reply | Threaded
Open this post in threaded view
|

Re: Errors when i execute python examples.

serna92
This post was updated on .
Hi, it worked but now, executing examples which are using cameras I get the following error:

[qtcoinviewer.cpp:3417 _GetCameraImage] offscreen renderer failed (check video driver), disabling
[qtcoinviewer.cpp:3370 _GetCameraImage] cannot render offscreen

First of all, I'm using Ubuntu 14.04 LTS and I found a tool called "Intel(R) Graphics Installer for Linux* 1.0.7" but when I execute it, it seems that my ubuntu distribution is no longer supported.

My graphics card is a Broadwell-U Integrated Graphics from Intel.

Also my system says that there aren't any additional controllers available.

Is there an alternative way to update the drivers?