forked from orocos/orocos_kinematics_dynamics
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'orocos:master' into master
- Loading branch information
Showing
172 changed files
with
8,610 additions
and
4,529 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
- package-ecosystem: "gitsubmodule" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" |
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,106 @@ | ||
name: CI | ||
|
||
on: [push, pull_request, workflow_dispatch] | ||
|
||
env: | ||
CXXFLAGS: "-Wall -Wextra -Wno-unused-parameter" | ||
|
||
jobs: | ||
build: | ||
name: Build | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-20.04, ubuntu-22.04] | ||
orocos_build_type: [Debug, Release] | ||
compiler: [gcc, clang] | ||
python_version: ['3.8', '3.10'] | ||
exclude: | ||
- os: ubuntu-20.04 | ||
python_version: '3.10' | ||
- os: ubuntu-22.04 | ||
python_version: '3.8' | ||
include: | ||
- os: ubuntu-20.04 | ||
orocos_build_type: Release | ||
compiler: gcc | ||
python_version: '3.9' | ||
- os: ubuntu-20.04 | ||
orocos_build_type: Release | ||
compiler: gcc | ||
python_version: '3.10' | ||
- os: ubuntu-20.04 | ||
orocos_build_type: Release | ||
compiler: gcc | ||
python_version: '3.11' | ||
- os: ubuntu-22.04 | ||
orocos_build_type: Release | ||
compiler: gcc | ||
python_version: '3.11' | ||
env: | ||
CC: ${{ matrix.compiler }} | ||
OROCOS_BUILD_TYPE: ${{ matrix.orocos_build_type }} | ||
ROS_PYTHON_VERSION: ${{ matrix.python_version }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
- uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python_version }} | ||
- name: Install | ||
run: | | ||
sudo apt-get install libeigen3-dev libcppunit-dev | ||
pip install psutil future | ||
- name: Build orocos_kdl | ||
run: | | ||
cd orocos_kdl | ||
mkdir build | ||
cd build | ||
cmake -DENABLE_TESTS:BOOL=ON -DCMAKE_BUILD_TYPE=${OROCOS_KDL_BUILD_TYPE} ./.. | ||
make | ||
sudo make install | ||
- name: Build PyKDL | ||
run: | | ||
cd python_orocos_kdl | ||
mkdir build | ||
cd build | ||
cmake -DCMAKE_BUILD_TYPE=${OROCOS_KDL_BUILD_TYPE} ./.. | ||
make | ||
sudo make install | ||
- name: ldconfig | ||
run: sudo ldconfig | ||
- name: Test orocos_kdl | ||
run: | | ||
cd orocos_kdl/build | ||
make check | ||
- name: Test PyKDL | ||
run: | | ||
cd python_orocos_kdl | ||
python_version_short=$(python -c "import sys; print('{}.{}'.format(sys.version_info[0], sys.version_info[1]))") | ||
export PYTHONPATH=/usr/local/lib/python${python_version_short}/dist-packages${PYTHONPATH:+:${PYTHONPATH}} | ||
python tests/PyKDLtest.py | ||
industrial_ci: | ||
name: Industrial CI - ${{ matrix.env.ROS_DISTRO }} | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- env: | ||
ROS_DISTRO: noetic | ||
ROS_REPO: ros | ||
ABICHECK_URL: github:orocos/orocos_kinematics_dynamics#release-1.5 | ||
ABICHECK_MERGE: false | ||
branch: release-1.5 | ||
env: ${{ matrix.env }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
if: ${{ (github.event_name == 'push' && endsWith(github.ref, matrix.branch)) || (github.event_name == 'pull_request' && endsWith(github.base_ref, matrix.branch)) }} | ||
- uses: ros-industrial/industrial_ci@master | ||
env: ${{ matrix.env }} | ||
if: ${{ (github.event_name == 'push' && endsWith(github.ref, matrix.branch)) || (github.event_name == 'pull_request' && endsWith(github.base_ref, matrix.branch)) }} |
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,4 @@ | ||
[submodule "python_orocos_kdl/pybind11"] | ||
path = python_orocos_kdl/pybind11 | ||
url = https://github.com/pybind/pybind11.git | ||
branch = stable |
This file was deleted.
Oops, something went wrong.
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,20 @@ | ||
# Kinematics and Dynamics Library | ||
|
||
[![CI](https://github.com/orocos/orocos_kinematics_dynamics/workflows/CI/badge.svg)](https://github.com/orocos/orocos_kinematics_dynamics/actions) | ||
|
||
Orocos project to supply RealTime usable kinematics and dynamics code, | ||
it contains code for rigid body kinematics calculations and | ||
representations for kinematic structures and their inverse and forward | ||
kinematic solvers. | ||
|
||
The C++ library is located in the `orocos_kdl` folder. The installation instructions can be found in | ||
[INSTALL.md](orocos_kdl/INSTALL.md). | ||
|
||
The python bindings, are located in the `python_orocos_kdl` folder. The installation instructions can be found in | ||
[INSTALL.md](python_orocos_kdl/INSTALL.md). | ||
|
||
Always use the same version of the C++ library and the python bindings. As a mismatch between these two can cause many issues. | ||
|
||
Also when using ROS/catkin, it is preferred to use the catkin installation method over the `cmake/make` method. | ||
|
||
There will be no ROS Noetic release. |
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 was deleted.
Oops, something went wrong.
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,37 @@ | ||
# Install instructions | ||
|
||
These install instructions are focused on Debian/Ubuntu systems. | ||
|
||
## Shared instructions | ||
|
||
1. (Optional) Update apt cache: `sudo apt-get update` | ||
2. Install EIGEN and cppunit: `sudo apt-get install libeigen3-dev libcppunit-dev` | ||
3. (Optional) Install `Doxygen` and `Graphviz` to generate API-documentation: `sudo apt-get install doxygen graphviz` | ||
|
||
## Compilation | ||
|
||
### With catkin | ||
|
||
1. Clone the repository inside the workspace | ||
2. Build with your catkin tool of preference | ||
3. Source the workspace | ||
4. (Optional) To generate the API-documentation use either [rosdoc_lite](http://wiki.ros.org/rosdoc_lite) or | ||
[catkin_tools_document](https://github.com/mikepurvis/catkin_tools_document) | ||
|
||
### Without catkin | ||
|
||
1. Clone the repository where you want | ||
2. Go to the `orocos_kdl` folder": `cd orocos_kdl` | ||
3. Create a new build folder (it is always better not to build in the source folder): `mkdir build` | ||
4. Go to the build folder `cd build` | ||
5. Execute cmake: `cmake ..` | ||
- (Optional) Adapt `CMAKE_INSTALL_PREFIX` to the desired installation directory | ||
- (Optional) To build the tests, add: `-DENABLE_TESTS:BOOL=ON` | ||
- (Optional) To change the build type, add: `-DCMAKE_BUILD_TYPE=<DESIRED_BUILD_TYPE>` | ||
6. Compile: `make` | ||
7. Install the library: `sudo make install` | ||
8. (Optional) To execute the tests: `make check` | ||
9. (Optional) To create the API-documentation: `make docs`. The API-documentation will be generated at | ||
`<builddir>/doc/api/html`. | ||
|
||
To uninstall the library: `sudo make uninstall` |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.