Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
curves
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jason Chemin
curves
Commits
42fd21d8
Commit
42fd21d8
authored
8 years ago
by
stonneau
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update README.md
parent
707cbf5f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+31
-3
31 additions, 3 deletions
README.md
with
31 additions
and
3 deletions
README.md
+
31
−
3
View file @
42fd21d8
...
@@ -59,10 +59,20 @@ Please refer to the Main.cpp files to see all the unit tests and possibilities o
...
@@ -59,10 +59,20 @@ Please refer to the Main.cpp files to see all the unit tests and possibilities o
Installation
Installation
-------------
-------------
The library is header only, so you just need to copy the include folder where you need.
## Dependencies
Eigen is required for the library to work.
*
[
Eigen (version >= 3.2.2)
](
http://eigen.tuxfamily.org/index.php?title=Main_Page
)
## Additional dependencies for python bindings
*
[
Boost.Python
](
http://www.boost.org/doc/libs/1_63_0/libs/python/doc/html/index.html
)
*
[
eigenpy
](
https://github.com/stack-of-tasks/eigenpy
)
To handle this with cmake, use the recursive option to clone the repository.
For instance, using http:
```
git clone --recursive https://github.com/stonneau/spline.git $SPLINE_DIR
```
The library is header only, so the build only serves to build the tests and python bindings:
To run the tests, there is a CMakeLists.txt:
```
```
cd $SPLINE_DIR && mkdir build && cd build
cd $SPLINE_DIR && mkdir build && cd build
cmake .. && make
cmake .. && make
...
@@ -74,3 +84,21 @@ If everything went fine you should obtain the following output:
...
@@ -74,3 +84,21 @@ If everything went fine you should obtain the following output:
performing tests...
performing tests...
no errors found
no errors found
```
```
### Optional: Python bindings installation
To install the Python bindings, in the CMakeLists.txt file, first enable the BUILD_PYTHON_INTERFACE option:
```
OPTION (BUILD_PYTHON_INTERFACE "Build the python binding" ON)
```
Then rebuild the library:
```
cd $SPLINE_DIR/build
cmake -DCMAKE_INSTALL_PREFIX=${DEVEL_DIR}/install ..
make install
```
The python bindings should then be accessible through the package centroidal_dynamics.
To see example of use, you can refer to the
[
test file
](
https://github.com/stonneau/spline/blob/master/python/test/test.py
)
which is rather self explanatory:
In spite of an exhaustive documentation, please refer to the C++ documentation, which mostly applies
to python. For the moment, only bezier curves are binded.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment