Closed dalinel closed 4 years ago
I cannot do as described in the robot_dart installation process :
sudo apt-get install libfcl-dev
Because it would uninstall a lot of ros packages
This is a bit weird. What version of ROS did you install? Why do you need a custom fcl-dev
for ROS?
I am working with ros-kinetic , and on a specific environment dedicated to talos
A lot of talos specific packages would be remove And also ros-kinetic-moveit related packages
I am working with ros-kinetic , and on a specific environment dedicated to talos
A lot of talos specific packages would be remove And also ros-kinetic-moveit related packages
I see.
Still this is weird because DART is supposed to work with any version of fcl.
libfcl-0.5-dev/now 0.5.0-3
I have libfcl-0.5.0-5.
Can you try unsourcing your ROS environment and doing:
?
Ok so actually the problem is with octomap I can install dart using libfcl-0.5-dev and the embedded ros-kinetic liboctomap.so.1.8.1
When it is like this I now get this error with robot_dart
[30/51] Compiling src/examples/cameras.cpp
In file included from ../../dart_install/include/dart/collision/fcl/BackwardCompatibility.hpp:87:0,
from ../../dart_install/include/dart/collision/fcl/FCLTypes.hpp:37,
from ../../dart_install/include/dart/collision/fcl/FCLCollisionDetector.hpp:38,
from ../src/examples/meshes.cpp:7:
/usr/include/fcl/octree.h:50:29: fatal error: octomap/octomap.h: No such file or directory
compilation terminated.
If I install
sudo apt-get install liboctomap-dev
It will install the liboctomap1.6.8 version If I use this and not the liboctomap1.8.1 I will have the same following error when installing dart
In file included from ../../../rf_ws/devel/include/dart/collision/fcl/BackwardCompatibility.hpp:87:0,
from ../../../rf_ws/devel/include/dart/collision/fcl/FCLTypes.hpp:37,
from ../../../rf_ws/devel/include/dart/collision/fcl/FCLCollisionDetector.hpp:38,
from ../src/examples/meshes.cpp:7:
/usr/include/fcl/octree.h: In member function ‘fcl::OcTree::OcTreeNode* fcl::OcTree::getNodeChild(fcl::OcTree::OcTreeNode*, unsigned int)’:
/usr/include/fcl/octree.h:198:18: error: ‘const class octomap::OcTree’ has no member named ‘getNodeChild’
return tree->getNodeChild(node, childIdx);
So in the end, the problem is that robot_dart cannot find /opt/ros/kinetic/include/octomap/octomap.h
It will install the liboctomap1.6.8 version If I use this and not the liboctomap1.8.1 I will have the same following error when installing dart
First of all, this is weird. It never happened to me. DART should work with the latest octomap (v1.6.8 is not even the latest). I am using DART with Octomap v1.9.5. The FCL version with octomap are getting mixed. You should install the FCL version that corresponds to the octomap version that you want.
What version of DART are you using? Which branch?
Can you give me a docker or singularity container so that I can try with the same system?
I can install dart using libfcl-0.5-dev and the embedded ros-kinetic liboctomap.so.1.8.1
When it is like this I now get this error with robot_dart
Of course, because you are installing an FCL version that has different header files than the ones that octomap has.
I will check to see if I can make a fix for this even if there are mismatched versions installed. Although I doubt that it is possible.
Can you send me a docker/singularity container with the system that you have (more or less) so that I can try to see what is the issue and how to fix this?
I am on the master branch of DART, I have also tried with v6.9.2
Here is a link to the docker with the same error : https://gitlab.inria.fr/locolearn/public/docker_dart_wrapper/container_registry The docker is this one
registry.gitlab.inria.fr/locolearn/public/docker_dart_wrapper/robotdart
You can modify this script to start the docker https://gitlab.inria.fr/locolearn/public/docker_dart_wrapper/-/blob/master/run_docker.sh
libfcl-0.5-dev and the embedded ros-kinetic liboctomap.so.1.8.1 are used Every robot_dart dependency is installed in the /home/user/install directory
I configure robot_dart this way:
./waf configure --prefix=/home/user/install --dart=/home/user/install --corrade=/home/user/install --magnum_install_dir=/home/user/install --magnum_integration_install_dir=/home/user/install --magnum_plugins_install_dir=/home/user/install
Yes perfect this fixes the issue
Hello, I have the following compilation error :
It is certainly due to a fcl versioning issue
On my computer I have
I cannot do as described in the robot_dart installation process :
sudo apt-get install libfcl-dev
Because it would uninstall a lot of ros packages