-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add bipedal-locomotion-framework (#526)
- Loading branch information
1 parent
dbfd6d6
commit b3e3833
Showing
13 changed files
with
180 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Copyright (C) 2020 iCub Facility, Istituto Italiano di Tecnologia | ||
# Authors: Giulio Romualdi <[email protected]> | ||
# CopyPolicy: Released under the terms of the LGPLv2.1 or later, see LGPL.TXT | ||
|
||
include(YCMEPHelper) | ||
|
||
ycm_ep_helper(CppAD TYPE GIT | ||
STYLE GITHUB | ||
REPOSITORY coin-or/CppAD.git | ||
TAG master | ||
COMPONENT external | ||
FOLDER external) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Copyright (C) 2020 iCub Facility, Istituto Italiano di Tecnologia | ||
# Authors: Giulio Romualdi <[email protected]> | ||
# CopyPolicy: Released under the terms of the LGPLv2.1 or later, see LGPL.TXT | ||
|
||
include(YCMEPHelper) | ||
include(FindOrBuildPackage) | ||
|
||
find_or_build_package(YARP QUIET) | ||
find_or_build_package(iDynTree QUIET) | ||
find_or_build_package(matio-cpp QUIET) | ||
|
||
set(bipedal-locomotion-framework_DEPENDS "") | ||
list(APPEND bipedal-locomotion-framework_DEPENDS YARP) | ||
list(APPEND bipedal-locomotion-framework_DEPENDS iDynTree) | ||
list(APPEND bipedal-locomotion-framework_DEPENDS matio-cpp) | ||
|
||
set(bipedal-locomotion-framework_USES_CppAD OFF) | ||
|
||
if (ROBOTOLOGY_ENABLE_DYNAMICS_FULL_DEPS) | ||
find_or_build_package(manif QUIET) | ||
find_or_build_package(qhull QUIET) | ||
find_or_build_package(casadi QUIET) | ||
|
||
# cppad is currently disabled on windows | ||
# https://github.com/robotology/robotology-superbuild-dependencies-vcpkg/pull/37 | ||
if(NOT WIN32) | ||
find_or_build_package(CppAD) | ||
list(APPEND bipedal-locomotion-framework_DEPENDS CppAD) | ||
set(bipedal-locomotion-framework_USES_CppAD ON) | ||
endif() | ||
|
||
list(APPEND bipedal-locomotion-framework_DEPENDS manif) | ||
list(APPEND bipedal-locomotion-framework_DEPENDS qhull) | ||
list(APPEND bipedal-locomotion-framework_DEPENDS casadi) | ||
|
||
endif() | ||
|
||
ycm_ep_helper(bipedal-locomotion-framework TYPE GIT | ||
STYLE GITHUB | ||
REPOSITORY dic-iit/bipedal-locomotion-framework.git | ||
TAG master | ||
COMPONENT dynamics | ||
FOLDER robotology | ||
CMAKE_ARGS -DBUILD_TESTING:BOOL=OFF | ||
-DFRAMEWORK_USE_manif:BOOL=${ROBOTOLOGY_ENABLE_DYNAMICS_FULL_DEPS} | ||
-DFRAMEWORK_USE_Qhull:BOOL=${ROBOTOLOGY_ENABLE_DYNAMICS_FULL_DEPS} | ||
-DFRAMEWORK_USE_cppad:BOOL=${bipedal-locomotion-framework_USES_CppAD} | ||
-DFRAMEWORK_USE_casadi:BOOL=${ROBOTOLOGY_ENABLE_DYNAMICS_FULL_DEPS} | ||
DEPENDS ${bipedal-locomotion-framework_DEPENDS}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Copyright (C) 2020 iCub Facility, Istituto Italiano di Tecnologia | ||
# Authors: Giulio Romualdi <[email protected]> | ||
# CopyPolicy: Released under the terms of the LGPLv2.1 or later, see LGPL.TXT | ||
|
||
include(YCMEPHelper) | ||
|
||
include(FindOrBuildPackage) | ||
find_or_build_package(osqp QUIET) | ||
|
||
ycm_ep_helper(casadi TYPE GIT | ||
STYLE GITHUB | ||
REPOSITORY GiulioRomualdi/casadi.git | ||
TAG feature/support_osqp_0.6.0 | ||
COMPONENT external | ||
FOLDER external | ||
CMAKE_ARGS -DWITH_IPOPT:BOOL=ON | ||
-DWITH_OSQP:BOOL=ON | ||
-DUSE_SYSTEM_WISE_OSQP:BOOL=ON | ||
-DINCLUDE_PREFIX:PATH=include | ||
-DCMAKE_PREFIX:PATH=lib/cmake/casadi | ||
-DLIB_PREFIX:PATH=lib | ||
-DBIN_PREFIX:PATH=bin | ||
DEPENDS osqp) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Copyright (C) 2020 iCub Facility, Istituto Italiano di Tecnologia | ||
# Authors: Giulio Romualdi <[email protected]> | ||
# CopyPolicy: Released under the terms of the LGPLv2.1 or later, see LGPL.TXT | ||
|
||
include(YCMEPHelper) | ||
|
||
ycm_ep_helper(manif TYPE GIT | ||
STYLE GITHUB | ||
REPOSITORY artivis/manif.git | ||
TAG master | ||
COMPONENT external | ||
FOLDER external | ||
CMAKE_ARGS -DBUILD_TESTING:BOOL=OFF -DBUILD_EXAMPLES:BOOL=OFF) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Copyright (C) 2020 iCub Facility, Istituto Italiano di Tecnologia | ||
# Authors: Giulio Romualdi <[email protected]> | ||
# CopyPolicy: Released under the terms of the LGPLv2.1 or later, see LGPL.TXT | ||
include(YCMEPHelper) | ||
|
||
ycm_ep_helper(matio-cpp TYPE GIT | ||
STYLE GITHUB | ||
REPOSITORY dic-iit/matio-cpp.git | ||
TAG master | ||
COMPONENT dynamics | ||
FOLDER robotology | ||
CMAKE_ARGS -DBUILD_TESTING:BOOL=OFF) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Copyright (C) 2020 iCub Facility, Istituto Italiano di Tecnologia | ||
# Authors: Giulio Romualdi <[email protected]> | ||
# CopyPolicy: Released under the terms of the LGPLv2.1 or later, see LGPL.TXT | ||
|
||
include(YCMEPHelper) | ||
|
||
ycm_ep_helper(qhull TYPE GIT | ||
STYLE GITHUB | ||
REPOSITORY qhull/qhull.git | ||
TAG master | ||
COMPONENT external | ||
CMAKE_ARGS -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=ON) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters