-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Missed python module definition and setup.py script #364
Missed python module definition and setup.py script #364
Conversation
@@ -0,0 +1 @@ | |||
from ur_kinematics import * |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The import is not required. An empty __init__.py
file is sufficient.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you are right, it is within the same package. The init file can be empty
Suggestion: can we please rebase as much as possible, instead of merging in |
@gavanderhoorn yes! sorry, I clicked the button "update branch" of the PR to verify the commit with Travis. But you are right, it is horrible for the history of the repo... |
No need to apologise. Let's just keep it in mind. |
Reviewed and accepted |
Thanks @ipa-nhg for fixing this. |
Merged commits: * missed python module definition and setup.py script * clean the __init__ file
Merged commits: * missed python module definition and setup.py script * clean the __init__ file
I cannot still find a python module, ur_kin_py when I run test_analytical_ik.py. Here is the message, "ImportError: No module named ur_kin_py" I am not an expert for the python wrapper, but I could not find any setup for ur_kin_py.cpp in CMakeList. |
@pidipidi Yeah I found the same error, after trying many things I manage to made it work. Here is what I
Then in the CMakeLists.txt file, you have to add the following
Note that I link the library just with the ur3_kin, if you need a different robot, you can change it. Then you can test with the Finally, if you encounter the problem of Hope it helps! |
Merged commits: * missed python module definition and setup.py script * clean the __init__ file
Merged commits: * missed python module definition and setup.py script * clean the __init__ file
Related to #293