You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Goal:
Use computeCollisions in ROS system to check for collision between robot from URDF file and a mesh loaded from file.
Problem #1, Needed to manually add option to compile computeCollisions function:
target_compile_definitions(my_library PRIVATE ${pinocchio_CFLAGS_OTHER} -DPINOCCHIO_WITH_HPP_FCL)
Problem #2: Adding this flag causes build to fail because pinocchio/spatial/fcl-pinocchio-conversions.hpp does not come with pinocchio install.
Pinocchio was installed through commands:
sudo apt install ros-melodic-pinocchio
sudo apt install ros-melodic-hpp-fcl
Cmakelists has the following lines:
find_package(PkgConfig REQUIRED) # For pinocchio
pkg_check_modules(pinocchio REQUIRED pinocchio)
Installing pinocchio with robotpkg instead with the commands
sudo apt install robotpkg-pinocchio
includes the fcl pinocchio conversions file.
The text was updated successfully, but these errors were encountered:
Hi @edwardchaos,
Indeed, Pinocchio available via the ROS buildfarm does not come with HPP-FCL at this time.
The HPP-FCL on ROS Melodic is also very much out of date. I didn't have time to make newer releases for HPP-FCL due to the time taken to fix the CMake issues on EigenPy/Pinocchio. I may do this at some point in the future. When this happens, I can look at re-releasing Pinocchio with HPP-FCL (assuming it does not consume more memory when compiling as currently).
Goal:
Use computeCollisions in ROS system to check for collision between robot from URDF file and a mesh loaded from file.
Problem #1, Needed to manually add option to compile computeCollisions function:
target_compile_definitions(my_library PRIVATE ${pinocchio_CFLAGS_OTHER} -DPINOCCHIO_WITH_HPP_FCL)
Problem #2: Adding this flag causes build to fail because pinocchio/spatial/fcl-pinocchio-conversions.hpp does not come with pinocchio install.
Pinocchio was installed through commands:
sudo apt install ros-melodic-pinocchio
sudo apt install ros-melodic-hpp-fcl
Cmakelists has the following lines:
find_package(PkgConfig REQUIRED) # For pinocchio
pkg_check_modules(pinocchio REQUIRED pinocchio)
Installing pinocchio with robotpkg instead with the commands
sudo apt install robotpkg-pinocchio
includes the fcl pinocchio conversions file.
The text was updated successfully, but these errors were encountered: