Skip to content
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

Help to build the examples #2

Closed
michaelchi08 opened this issue Mar 5, 2019 · 5 comments
Closed

Help to build the examples #2

michaelchi08 opened this issue Mar 5, 2019 · 5 comments

Comments

@michaelchi08
Copy link

Hello,

I'm trying to run these examples on my ubuntu 18.x VM.
I managed to install pybullet and numpy.But when i run the test, i get this

Traceback (most recent call last):
File "", line 1, in
ImportError: No module named ss

Thanks for your help.
When i try to run to run the kuka test, i also get some errors

pybullet build time: Mar 5 2019 09:25:16
Traceback (most recent call last):
File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/thermo/Documents/dev/ss-pybullet/examples/test_kuka_pick.py", line 5, in
from pybullet_tools.kuka_primitives import BodyPose, BodyConf, Command, get_grasp_gen,
File "/home/thermo/Documents/dev/ss-pybullet/pybullet_tools/kuka_primitives.py", line 4, in
from .pr2_utils import get_top_grasps
File "/home/thermo/Documents/dev/ss-pybullet/pybullet_tools/pr2_utils.py", line 11, in
from .utils import multiply, get_link_pose, joint_from_name, set_joint_position, joints_from_names,
File "/home/thermo/Documents/dev/ss-pybullet/pybullet_tools/utils.py", line 20, in
from motion_planners.rrt_connect import birrt, direct_path
ModuleNotFoundError: No module named 'motion_planners'

Thanks for your help,
Michael

@caelan
Copy link
Owner

caelan commented Mar 5, 2019

Hi Michael,

Run the following commands to update a submodule that ss-pybullet depends on. I've updated the installation instructions to include these directions.

$ cd ss-pybullet
$ git submodule update --init --recursive

Caelan

@caelan caelan closed this as completed Mar 5, 2019
@michaelchi08
Copy link
Author

michaelchi08 commented Mar 5, 2019 via email

@caelan
Copy link
Owner

caelan commented Mar 5, 2019

I fixed an issue with the kuka's URDF path. It should work again now.

@michaelchi08
Copy link
Author

michaelchi08 commented Mar 5, 2019 via email

@caelan
Copy link
Owner

caelan commented Mar 6, 2019

Hmm, what's in master is currently working for me. Can you check that that following URDF paths are correct?

https://github.com/caelan/ss-pybullet/blob/1d5f0b76422ca140a84c6098eb6497b73e21f9cd/pybullet_tools/utils.py#L40

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants