Skip to content

Commit 7787c19

Browse files
authoredSep 21, 2021
Merge pull request #75 from ju6ge/casadi
RBDL version 3.1.2 with Casadi \o/
2 parents f1a2622 + a0c1f2c commit 7787c19

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+3272
-295
lines changed
 

‎.gitignore

+133-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,135 @@
1-
debug
2-
build
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
11+
env/
12+
build/
13+
develop-eggs/
14+
dist/
15+
downloads/
16+
eggs/
17+
.eggs/
18+
lib/
19+
lib64/
20+
parts/
21+
sdist/
22+
var/
23+
wheels/
24+
*.egg-info/
25+
.installed.cfg
26+
*.egg
27+
28+
# PyInstaller
29+
# Usually these files are written by a python script from a template
30+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
31+
*.manifest
32+
*.spec
33+
34+
# Installer logs
35+
pip-log.txt
36+
pip-delete-this-directory.txt
37+
38+
# Unit test / coverage reports
39+
htmlcov/
40+
.tox/
41+
.coverage
42+
.coverage.*
43+
.cache
44+
nosetests.xml
45+
coverage.xml
46+
*.cover
47+
.hypothesis/
48+
49+
# Translations
50+
*.mo
51+
*.pot
52+
53+
# Django stuff:
54+
*.log
55+
local_settings.py
56+
57+
# Flask stuff:
58+
instance/
59+
.webassets-cache
60+
61+
# Scrapy stuff:
62+
.scrapy
63+
64+
# Sphinx documentation
65+
docs/_build/
66+
67+
# PyBuilder
68+
target/
69+
70+
# Jupyter Notebook
71+
.ipynb_checkpoints
72+
73+
# pyenv
74+
.python-version
75+
76+
# celery beat schedule file
77+
celerybeat-schedule
78+
79+
# SageMath parsed files
80+
*.sage.py
81+
82+
# dotenv
83+
.env
84+
85+
# virtualenv
86+
.venv
87+
venv/
88+
ENV/
89+
90+
# Spyder project settings
91+
.spyderproject
92+
.spyproject
93+
Pipfile.lock
94+
.idea
95+
96+
# Rope project settings
97+
.ropeproject
98+
99+
# mkdocs documentation
100+
/site
101+
102+
# mypy
103+
.mypy_cache/
104+
105+
# Visual code
106+
.vscode
107+
108+
# Visual studio
109+
.vs
110+
111+
# CMake
112+
CMakeCache.txt
113+
CMakeFiles
114+
CMakeScripts
115+
Testing
116+
Makefile
117+
cmake_install.cmake
118+
install_manifest.txt
119+
compile_commands.json
120+
CTestTestfile.cmake
121+
CMakeLists.txt.user
122+
123+
# Specific project files and folders
124+
build*
125+
debug*
126+
install*
127+
*.user*
128+
includes/numpy
129+
S2MSource
130+
pyomeca
131+
release*
132+
*.DS_Store
133+
3134
doc/html
4135
**/build
5-
CMakeLists.txt.user

‎CMake/FindCasadi.cmake

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# - Find Casadi
2+
# Find the native Casadi includes and libraries
3+
#
4+
# Casadi_INCLUDE_DIR - where to find casadi.hpp, etc.
5+
# Casadi_LIBRARIES - List of libraries when using Casadi.
6+
# Casadi_FOUND - True if Casadi is found.
7+
8+
if (Casadi_INCLUDE_DIR)
9+
# Already in cache, be silent
10+
set (Casadi_FIND_QUIETLY TRUE)
11+
endif (Casadi_INCLUDE_DIR)
12+
13+
find_path (Casadi_INCLUDE_DIR "casadi.hpp"
14+
PATHS ${CMAKE_INSTALL_PREFIX}/include/casadi ${CMAKE_INSTALL_PREFIX}/Library/include/casadi
15+
)
16+
find_library (Casadi_LIBRARY NAMES casadi
17+
PATHS ${CMAKE_INSTALL_PREFIX}/lib ${CMAKE_INSTALL_PREFIX}/Library/lib
18+
)
19+
20+
# handle the QUIETLY and REQUIRED arguments and set Casadi_FOUND to TRUE if
21+
# all listed variables are TRUE
22+
include (FindPackageHandleStandardArgs)
23+
find_package_handle_standard_args (Casadi DEFAULT_MSG
24+
Casadi_LIBRARY
25+
Casadi_INCLUDE_DIR
26+
)
27+
28+
29+

0 commit comments

Comments
 (0)
Please sign in to comment.