Giter Club home page Giter Club logo

collision-detection-benchmark's People

Contributors

lmontaut avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

collision-detection-benchmark's Issues

Build error due to erroneous Eigen types (On commit 2546b89)

Hi, thanks for open-sourcing the benchmark. After successfully installing all dependencies, I started to build the repo using CMake. The commit is 2546b89. CMake failed and its error message points to Line 63 in hpp/fcl/include/hpp/fcl/internal/intersect.h.
Error gave by the g++ complier was:
error: ‘Vector’ in namespace ‘Eigen’ does not name a template type; did you mean ‘VectorXd’?
My fix was to use Eigen::Matrix<double, 4, 1> instead of the Eigen::Vector<double ,4>.
My Eigen version is 3.3.7
After the modification, the code complied successfully.

I am writing this issue to make sure my modification is correct.

Missing dependencies

I come from the RSS 2022 paper, and I have been trying to run the benchmark on a freshly installed Ubuntu20.04. I am strictly following the installation guidelines. However, during the cmake stage, the following dependencies are missing:

  • CMake can't find eigenpy, which I fixed by running conda install eigenpy -c conda-forge.
  • CMake can't find qhull, which I fixed by installing qhull from source using CMake (see https://github.com/qhull/qhull). Note that sudo apt install libqhull-dev won't work, because the package does not contain CMakeConfig files (See https://packages.ubuntu.com/focal/amd64/libqhull-dev/filelist). We might be able to fix the apt installed problem by providing a FindQhull.cmake, but that's another story.

I hope the missing dependencies mentioned above could be added readme.

Failed to run benchmark code: failed to import name 'GJKVariant' from 'hppfcl' (on commit 2546b89)

After successfully building and installing the code (on commit 2546b89) on a freshly installed Ubuntu20.04, I tried to run the benchmark using the following command:

However, I got the following error:
Screenshot from 2022-07-06 17-02-51

It seems that GJKVariant enum type was not imported to the hppfcl namespace. So I tried to import everything from hppfcl using the following command in the Python console:
from hppfcl import *
Then I printed out all the things in the Python environment using the following command:
locals()
Here is the result:

Screenshot from 2022-07-06 17-07-18

It seems that even though GJKVariant was binded in https://github.com/lmontaut/hpp-fcl/blob/340fe6a16b547901c260008824dc65ad6e96ab73/python/gjk.cc#L93, it was not imported somehow.

I am not very familiar with boost Python, so I am asking for help here.

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.