Code Monkey home page Code Monkey logo

Comments (11)

jcarpent avatar jcarpent commented on June 8, 2024

You are mixing conda and the installation from apt via robotpkg.
Please unset your env variables related to robotpkg and only use conda. I guess you can also uninstall all the packages that you've installed via robotpkg and which are related to crocoddyl and Pinocchio.

from crocoddyl.

spykspeigel avatar spykspeigel commented on June 8, 2024

@jcarpent
I am working in a conda env with python 3.8.13 and with source install of pinocchio, example-robot-data, eigepy, hpp-fcl, crocoddyl

I tried conda install of all the above libraries except (crocoddyl) but things didn't work. So, the only thing that is working for now is the source installation of all the aobve metioned packages.
But the runtime of the examples like arm_manipulation is really bad. I never experienced such runtime like for 11 iterations its taking around 30 seconds.

Do you know what could be causing the issue?

Is there any preferred installation method for doing source installation for example_robot_data and crocoddyl?

Regards,
Saroj

from crocoddyl.

wxmerkt avatar wxmerkt commented on June 8, 2024

Hi Saroj, if you are using a source install - what did you set the CMAKE_BUILD_TYPE to? If you didn't set it, can you try rebuilding with -DCMAKE_BUILD_TYPE=Release?

from crocoddyl.

spykspeigel avatar spykspeigel commented on June 8, 2024

Hi @wxmerkt, I had set it to Release during the build using -DCMAKE_BUILD_TYPE=Release. But still facing the issues.

from crocoddyl.

jcarpent avatar jcarpent commented on June 8, 2024

With such timings, it really means that you are not compiling in Release mode. It is easy to not set it. Why to not directly install croco using conda?

from crocoddyl.

nim65s avatar nim65s commented on June 8, 2024

It must be done at configure time, then rebuild, then install, instead of only set it at install time

from crocoddyl.

cmastalli avatar cmastalli commented on June 8, 2024

I suggest you to clean up the cmake files, e.g.,

cd build
rm -rf .
cmake ../
make install

from crocoddyl.

spykspeigel avatar spykspeigel commented on June 8, 2024

Thanks all. Installation finally worked without any error now.

But now trying to use Gepetto-viewer.
I get the following error:
No Python class registered for C++ class pinocchio::fcl::FakeCollisionGeometry self.loadViewerGeometryObject(visual,pin.GeometryType.VISUAL)
I have made source installation of hpp-fcl library.

I am not sure if I should rather create this issue in pinocchio.
P.S.: I am working on the core files of crocoddyl as required for my project. So, conda installation of crocoddyl will not work for me.

from crocoddyl.

wxmerkt avatar wxmerkt commented on June 8, 2024

Can you check how Pinocchio is configured? It's possible that WITH_COLLISION_SUPPORT is OFF, when it should be ON.

from crocoddyl.

spykspeigel avatar spykspeigel commented on June 8, 2024

@wxmerkt It is set to True
IF(BUILD_WITH_COLLISION_SUPPORT) SET(BUILD_WITH_HPP_FCL_SUPPORT TRUE) ENDIF()

from crocoddyl.

cmastalli avatar cmastalli commented on June 8, 2024

@spykspeigel I suggest you to clean up again Pinocchio and enable the BUILD_UTILS and WITH_COLLISION_SUPPORT.
If you still have issue, then it would be better to create an issue in Pinocchio.
For now, I consider that we have provided support for your installation issue.

from crocoddyl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.