pinocchio: E: Unable to locate package robotpkg-osg-dae

I followed the tutorials here. At the 1.0) Tips section I run sudo apt install robotpkg-py27-pinocchio robotpkg-ur5-description robotpkg-py27-qt4-gepetto-viewer-corba robotpkg-osg-dae, and it reports:

huangjiawei@huangjiawei-Ubuntu:/opt/openrobots/share/pinocchio$ sudo apt install robotpkg-py27-pinocchio robotpkg-ur5-description robotpkg-py27-qt4-gepetto-viewer-corba robotpkg-osg-dae
[sudo] password for huangjiawei: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package robotpkg-ur5-description
E: Unable to locate package robotpkg-osg-dae

I have followed here to install Pinocchio, but I got stuck here, I searched some methods but they doesn’t work. Could anyone help me out of here… Thank you so much

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 24 (11 by maintainers)

Commits related to this issue

Most upvoted comments

I think you already got all the errors one should expect from the outdated tutorials, so I guess at this point this is safe to continue 😃

In case it’s not, you can find the new version, which is still a work in progress, but with all the new syntax here: https://github.com/nmansard/supaero2021/. It might not be safe either, as this lacks a bit of review, test, bullet-proof and clean ; so expect a few rough edges.

We now have shortcuts to do this in example-robot-data, eg.


In [1]: from example_robot_data import load

In [2]: robot = load('ur5_gripper')

This will give you a RobotWrapper instance from pinocchio with everything automatically set up.

To import the pinocchio python library, you need:

  1. to setup the correct version of the python interpreter:

    sudo apt install ipython3
    
  2. to configure your python interpreter to find the pinocchio library:

    mkdir -p $(python3 -c 'import site; print(site.USER_SITE)')
    echo "/opt/openrobots/lib/python3.6/site-packages/" >> "$(python3 -c 'import site; print(site.USER_SITE)')/robotpkg.pth"
    
  3. try it:

    ipython3
    
    import pinocchio
    

you don’t need robotpkg/wip. All the packages you need are available in the main repository.

edit: and you don’t need osg-dae, please don’t try to install it.

Okay, thank you, I just remove robotpkg-* and install it again.