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

No package example_robot_data #1

Closed
wxmerkt opened this issue Sep 2, 2019 · 9 comments
Closed

No package example_robot_data #1

wxmerkt opened this issue Sep 2, 2019 · 9 comments

Comments

@wxmerkt
Copy link
Collaborator

wxmerkt commented Sep 2, 2019

I've installed crocoddyl from the robotpkg binaries and it is correctly sourced. The package robotpkg-example-robot-data is installed. However, I get:

Traceback (most recent call last):
  File "bipedal_walking_from_foot_traj.py", line 6, in <module>
    import example_robot_data
ImportError: No module named example_robot_data
@cmastalli
Copy link
Member

I think you should upgrade robot-example-data. Did you do it?

@wxmerkt
Copy link
Collaborator Author

wxmerkt commented Sep 2, 2019

Yes... I just installed and it's the latest version on the binaries (2.0.0).

Also, the croccodyl version doesn't import any of the action models:

Traceback (most recent call last):
  File "jump.py", line 21, in <module>
    from crocoddyl import (ActionModelImpact, ActivationModelInequality, ActivationModelWeightedQuad,
ImportError: cannot import name ActionModelImpact

Is it possible that the build server hasn't released the new binaries yet?

@cmastalli
Copy link
Member

@nim65s can tell you more about the binary release. I didn't try it myself yet.

There are few classes that haven't been release yet, e.g.:

  • ActionModelImpact, ImpactModel3D, ImpactModel6D
  • ActivationModelInequality,
  • SolverFDDP, among others.

We tagged this version 0.9.0 because there is not yet everything there.

@cmastalli
Copy link
Member

Regarding the examples and notebooks, it almost everything working with the exception of:

  • jump.py
  • walk.py
  • salto.py

The problem with these examples is we need to release some of the classes that I mentioned above.

@wxmerkt
Copy link
Collaborator Author

wxmerkt commented Sep 2, 2019

Similarly @nim65s, the 2.0.0 tag on example-robot-data in the binaries does not contain the Python loader either.

@wxmerkt
Copy link
Collaborator Author

wxmerkt commented Sep 2, 2019

@cmastalli thank you for the update! Looking forward to Guilhem's response and will re-try then.

@nim65s
Copy link
Collaborator

nim65s commented Sep 2, 2019

@wxmerkt Python loaders are available in robotpkg-pyXY-example-robot-data, depending of your major / minor version of python.

I am fixing the dependency from robotpkg-pyXY-crocoddyl to robotpkg-pyXY-example-robot-data right now.

@cmastalli
Copy link
Member

cmastalli commented Sep 2, 2019

I added in the README file the instruction of how to install the Python loaders in example-robot-data. This information also appears in the README file of Crocoddyl.

@cmastalli
Copy link
Member

I believe this issue has been solved. If not, feel free to reopen it

cmastalli pushed a commit that referenced this issue Mar 1, 2022
Update from the main repo
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

3 participants