-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conflict with the Aldebaran NaoQI Python SDK #4
Comments
Hi, Unfortunately, I don't have any solution to offer you right now. This is an issue we encountered many times internally and we are now used to the fact that using naoqi python SDK must be done without a ROS workspace sourced. Sadly, open-sourcing our SDK is not a decision I can make, and AFAIK it is not foreseeable in the next future.. |
@suryaambrose well, that kind of the answer I expected :-) but thanks for confirming. One possible (and relatively easy) solution would be to provide a statically linked version of |
Just to add to the discussion: currently our |
Hi again Severin, There MIGHT be a solution to your problem (but not tested, not very clean either so... up to you, if you want to give it a try).
So, a lot of buts and ifs ! |
Haha! I missed the fact that the source for |
Nice, good luck ! If you need a hint, |
I did not checked yet in details, but wouldn't it be possible to package the python bindings in ROS alongside We might have to deal with a dependency on the C++ SDK, though? |
If this solution is proven to be efficient, yes I think we could package libqi-python in a ROS package. That should be doable. |
This would help! |
Did anyone ever manage to build libqi-python? |
Hi, I passed a long way to reach this point, I'm new with linux, python, naoqi, qibuild, ros and other friends! but i got the same error, so would you please explain the solution in a more step by step manner, such that me also as a beginner could solve the problem! I'm running ubuntu 16.04, 64 bit, python 2.7.12, libboost 1.58 and ros Lunar Thanks in advance, |
Any progress on an "official" workaround to this? I would be interested if so. |
This is a bit of big news for an issue thread but... It can be installed on most machines using So the best advice for ROS maintainers I could give now is to remove any occurrence of the legacy NAOqi Python SDK, and use the standard practices around Python and pip to package it. For maintainers, please have a look at libqi-python's GitHub (the most advanced branch is the release-2.9 currently). |
Thank you for your discussion. OMG, 2020 is coming soon! Is there any solution to this problem? I just want to control the Nao with the keyboard by ROS. Thanks in advance, |
@elahia if you solved your problem, kindly share with me the details of your procedure. I am exactly at the situation you were 2 years before. |
After installing
libqi
from ROS Kinetic and the Aldebaran closed-source NaoQI Python SDK (tested with version 2.1.4.13), importing thenaoqi
Python package fails:The error comes from
_qi.so
(loaded by the Python SDK) incorrectly linking to thelibqi.so
provided by ROS.The 'easy' workaround is to re-export
LD_LIBRARY_PATH
with the Python SDK path first before running any python code.This is inconvenient, and not always possible (for instance, when a ROS launch file starts both C++ and Python nodes).
Any ideas? Ideally, Aldebaran could release the Python SDK as open-source, and we could package it along with
libqi.so
...The text was updated successfully, but these errors were encountered: