Before compiling FCL, please make sure boost and libccd (for collision checking between convex objects and is available here https://github.com/danfis/libccd) are installed. For libccd, make sure to compile from github version instead of the zip file from the webpage, because one bug fixing is not included in the zipped version.
Some optional libraries need to be installed for some optional capability of FCL. For octree collision, please install the octomap library from http://octomap.github.com. For global penetration depth, please install FLANN from https://github.com/mariusmuja/flann. For global penetration depth test, please install tinyxml.
CMakeLists.txt is used to generate makefiles in Linux or Visual studio projects in windows. In command line, run
CMakeLists.txt is used to generate makefiles in Linux or Visual studio projects in windows. In command line, run
``` cmake
``` cmake
mkdir build
mkdir build
...
@@ -34,7 +38,7 @@ Next, in linux, use make to compile the code.
...
@@ -34,7 +38,7 @@ Next, in linux, use make to compile the code.
In windows, there will generate a visual studio project and then you can compile the code.
In windows, there will generate a visual studio project and then you can compile the code.
### Interfaces
## Interfaces
Before starting the proximity computation, we need first to set the geometry and transform for the objects involving in computation. The geometry of an object is represented as a mesh soup, which can be set as follows:
Before starting the proximity computation, we need first to set the geometry and transform for the objects involving in computation. The geometry of an object is represented as a mesh soup, which can be set as follows: