hpp-manipulation-urdf 9.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. hpp_manipulation_urdf-9.0.0/.git-blame-ignore-revs +4 -0
  2. hpp_manipulation_urdf-9.0.0/.github/dependabot.yml +6 -0
  3. hpp_manipulation_urdf-9.0.0/.github/workflows/ci_ros2.yml +38 -0
  4. hpp_manipulation_urdf-9.0.0/.github/workflows/dockgen.yml +53 -0
  5. hpp_manipulation_urdf-9.0.0/.github/workflows/nix.yml +40 -0
  6. hpp_manipulation_urdf-9.0.0/.github/workflows/release.yml +159 -0
  7. hpp_manipulation_urdf-9.0.0/.github/workflows/update-flake-lock.yml +31 -0
  8. hpp_manipulation_urdf-9.0.0/.gitlab-ci.yml +1 -0
  9. hpp_manipulation_urdf-9.0.0/.mergify.yml +14 -0
  10. hpp_manipulation_urdf-9.0.0/.pre-commit-config.yaml +40 -0
  11. hpp_manipulation_urdf-9.0.0/CMakeLists.txt +120 -0
  12. hpp_manipulation_urdf-9.0.0/LICENSE +7 -0
  13. hpp_manipulation_urdf-9.0.0/NEWS +8 -0
  14. hpp_manipulation_urdf-9.0.0/PKG-INFO +61 -0
  15. hpp_manipulation_urdf-9.0.0/README.md +46 -0
  16. hpp_manipulation_urdf-9.0.0/doc/Doxyfile.extra.in +6 -0
  17. hpp_manipulation_urdf-9.0.0/doc/contact.xml +33 -0
  18. hpp_manipulation_urdf-9.0.0/doc/gripper.xml +7 -0
  19. hpp_manipulation_urdf-9.0.0/doc/handle.xml +15 -0
  20. hpp_manipulation_urdf-9.0.0/doc/main-page/package.hh +125 -0
  21. hpp_manipulation_urdf-9.0.0/dockgen.toml +6 -0
  22. hpp_manipulation_urdf-9.0.0/flake.lock +582 -0
  23. hpp_manipulation_urdf-9.0.0/flake.nix +26 -0
  24. hpp_manipulation_urdf-9.0.0/include/hpp/manipulation/parser/factories/ignoretag.hh +56 -0
  25. hpp_manipulation_urdf-9.0.0/include/hpp/manipulation/parser/factories/sequence.hh +69 -0
  26. hpp_manipulation_urdf-9.0.0/include/hpp/manipulation/parser/parser.hh +308 -0
  27. hpp_manipulation_urdf-9.0.0/include/hpp/manipulation/srdf/factories/contact.hh +68 -0
  28. hpp_manipulation_urdf-9.0.0/include/hpp/manipulation/srdf/factories/gripper.hh +67 -0
  29. hpp_manipulation_urdf-9.0.0/include/hpp/manipulation/srdf/factories/handle.hh +73 -0
  30. hpp_manipulation_urdf-9.0.0/include/hpp/manipulation/srdf/factories/position.hh +70 -0
  31. hpp_manipulation_urdf-9.0.0/include/hpp/manipulation/srdf/factories/robot.hh +69 -0
  32. hpp_manipulation_urdf-9.0.0/include/hpp/manipulation/srdf/factories.hh +40 -0
  33. hpp_manipulation_urdf-9.0.0/include/hpp/manipulation/srdf/util.hh +69 -0
  34. hpp_manipulation_urdf-9.0.0/package.xml +30 -0
  35. hpp_manipulation_urdf-9.0.0/pyproject.toml +29 -0
  36. hpp_manipulation_urdf-9.0.0/src/parser/factories/sequence.cc +141 -0
  37. hpp_manipulation_urdf-9.0.0/src/parser/parser.cc +304 -0
  38. hpp_manipulation_urdf-9.0.0/src/srdf/factories/contact.cc +147 -0
  39. hpp_manipulation_urdf-9.0.0/src/srdf/factories/gripper.cc +120 -0
  40. hpp_manipulation_urdf-9.0.0/src/srdf/factories/handle.cc +158 -0
  41. hpp_manipulation_urdf-9.0.0/src/srdf/factories/position.cc +103 -0
  42. hpp_manipulation_urdf-9.0.0/src/srdf/factories/robot.cc +50 -0
  43. hpp_manipulation_urdf-9.0.0/src/srdf/util.cc +67 -0
  44. hpp_manipulation_urdf-9.0.0/tests/CMakeLists.txt +60 -0
  45. hpp_manipulation_urdf-9.0.0/tests/ressources/box.srdf +12 -0
  46. hpp_manipulation_urdf-9.0.0/tests/srdfparser.cc.in +313 -0
@@ -0,0 +1,4 @@
1
+ # format (Guilhem Saurel, 2022-04-19)
2
+ 0b1092f4025165ab90f7b57d017b5326f11cdd25
3
+ # pre-commit run -a (Guilhem Saurel, 2022-10-05)
4
+ db2aaee788e6f19cd146c1c4043ecd221e6b67d6
@@ -0,0 +1,6 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: "github-actions"
4
+ directory: "/"
5
+ schedule:
6
+ interval: "monthly"
@@ -0,0 +1,38 @@
1
+ name: ROS2 Continuous Integration
2
+ on:
3
+ push:
4
+ branches:
5
+ - devel
6
+ - main
7
+ pull_request:
8
+ jobs:
9
+ build:
10
+ strategy:
11
+ matrix:
12
+ env:
13
+ - {ROS_DISTRO: rolling}
14
+ env:
15
+ UPSTREAM_WORKSPACE: |
16
+ github:gepetto/example-robot-data#devel
17
+ github:humanoid-path-planner/hpp-constraints#devel
18
+ github:humanoid-path-planner/hpp-core#devel
19
+ github:humanoid-path-planner/hpp-environments#devel
20
+ github:humanoid-path-planner/hpp-manipulation#devel
21
+ github:humanoid-path-planner/hpp-pinocchio#devel
22
+ github:humanoid-path-planner/hpp-statistics#devel
23
+ github:humanoid-path-planner/hpp-util#devel
24
+ runs-on: ubuntu-latest
25
+ steps:
26
+ - uses: actions/checkout@v7
27
+ - uses: 'ros-industrial/industrial_ci@125164b9f1883cdf1858897a7146d1bebf2be5c6'
28
+ env: ${{ matrix.env }}
29
+ check:
30
+ if: always()
31
+ name: check-ros-ci
32
+ runs-on: ubuntu-latest
33
+ needs:
34
+ - build
35
+ steps:
36
+ - uses: re-actors/alls-green@release/v1
37
+ with:
38
+ jobs: ${{ toJSON(needs) }}
@@ -0,0 +1,53 @@
1
+ name: "Publish docker image"
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - devel
7
+ tags:
8
+ - "v*"
9
+
10
+ jobs:
11
+ dockgen:
12
+ runs-on: "ubuntu-latest"
13
+ permissions:
14
+ contents: read
15
+ packages: write
16
+ attestations: write
17
+ id-token: write
18
+ steps:
19
+ - uses: actions/checkout@v6
20
+
21
+ - uses: astral-sh/setup-uv@v7
22
+ - run: uvx dockgen
23
+
24
+ # https://docs.github.com/en/packages/managing-github-packages-using-github-actions-workflows/publishing-and-installing-a-package-with-github-actions
25
+
26
+ - name: Log in to the Container registry
27
+ uses: docker/login-action@v4
28
+ with:
29
+ registry: ghcr.io
30
+ username: ${{ github.actor }}
31
+ password: ${{ secrets.GITHUB_TOKEN }}
32
+
33
+ - name: Extract metadata (tags, labels) for Docker
34
+ id: meta
35
+ uses: docker/metadata-action@v6
36
+ with:
37
+ images: ghcr.io/${{ github.repository }}
38
+
39
+ - name: Build and push Docker image
40
+ id: push
41
+ uses: docker/build-push-action@v7
42
+ with:
43
+ context: .
44
+ push: true
45
+ tags: ${{ steps.meta.outputs.tags }}
46
+ labels: ${{ steps.meta.outputs.labels }}
47
+
48
+ - name: Generate artifact attestation
49
+ uses: actions/attest-build-provenance@v4
50
+ with:
51
+ subject-name: ghcr.io/${{ github.repository }}
52
+ subject-digest: ${{ steps.push.outputs.digest }}
53
+ push-to-registry: true
@@ -0,0 +1,40 @@
1
+ name: "CI - Nix"
2
+ on:
3
+ push:
4
+ branches:
5
+ - devel
6
+ - master
7
+ - main
8
+ - stable
9
+ pull_request:
10
+ branches:
11
+ - devel
12
+ - master
13
+ - main
14
+ - stable
15
+ jobs:
16
+ nix:
17
+ runs-on: "${{ matrix.os }}-latest"
18
+ strategy:
19
+ fail-fast: false
20
+ matrix:
21
+ os: [ubuntu]
22
+ steps:
23
+ - uses: actions/checkout@v7
24
+ - uses: cachix/install-nix-action@v31
25
+ - uses: cachix/cachix-action@v17
26
+ with:
27
+ name: gepetto
28
+ authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
29
+ - run: nix flake check -L
30
+ - run: nix build -L
31
+ check:
32
+ if: always()
33
+ name: check-macos-linux-nix
34
+ runs-on: ubuntu-latest
35
+ needs:
36
+ - nix
37
+ steps:
38
+ - uses: re-actors/alls-green@release/v1
39
+ with:
40
+ jobs: ${{ toJSON(needs) }}
@@ -0,0 +1,159 @@
1
+ name: Release on GitHub & PyPI
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - "v*.c*"
7
+ branches:
8
+ - cmeel
9
+ pull_request:
10
+ branches:
11
+ - cmeel
12
+
13
+ env:
14
+ CMEEL_LOG_LEVEL: DEBUG
15
+ DEPS: cmeel-boost[build] hpp-manipulation[build]
16
+ PROJECT: hpp-manipulation-urdf
17
+
18
+ jobs:
19
+ wheel:
20
+ name: "Build ${{ matrix.python }} ${{ matrix.os }}"
21
+ runs-on: "${{ matrix.os }}"
22
+ strategy:
23
+ matrix:
24
+ os: ["ubuntu-24.04", "ubuntu-24.04-arm"]
25
+ python: ["cp314"]
26
+ steps:
27
+ - uses: actions/checkout@v6
28
+ with:
29
+ submodules: 'true'
30
+ - run: pipx install cibuildwheel
31
+ - run: echo "OPENMP=OFF" >> $GITHUB_ENV
32
+ if: ${{ startsWith(matrix.os, 'macos') }}
33
+ - run: echo "OPENMP=ON" >> $GITHUB_ENV
34
+ if: ${{ startsWith(matrix.os, 'ubuntu') }}
35
+ - run: cibuildwheel
36
+ env:
37
+ CIBW_BUILD: "${{ matrix.python }}-*"
38
+ CIBW_SKIP: "*-musllinux* *i686"
39
+ CIBW_MANYLINUX_X86_64_IMAGE: "quay.io/pypa/manylinux_2_28_x86_64"
40
+ CIBW_MANYLINUX_AARCH64_IMAGE: "quay.io/pypa/manylinux_2_28_aarch64"
41
+ CIBW_REPAIR_WHEEL_COMMAND: ""
42
+ CIBW_ENVIRONMENT: CMEEL_LOG_LEVEL="DEBUG" CMEEL_JOBS="1" CMEEL_TEST_JOBS="1" CMEEL_RUN_TESTS="false" CMEEL_CMAKE_ARGS="-DBUILD_WITH_OPENMP_SUPPORT=${{
43
+ env.OPENMP }}"
44
+ - uses: actions/upload-artifact@v7
45
+ with:
46
+ name: "artifact-${{ matrix.os }}-${{ matrix.python }}"
47
+ path: wheelhouse
48
+
49
+ test-wheel:
50
+ needs: ["wheel"]
51
+ name: "Test ${{ matrix.python }} ${{ matrix.os }}"
52
+ runs-on: "${{ matrix.os }}"
53
+ strategy:
54
+ matrix:
55
+ os: ["ubuntu-24.04", "ubuntu-24.04-arm"]
56
+ python: ["cp314"]
57
+ steps:
58
+ - uses: actions/download-artifact@v8
59
+ with:
60
+ name: "artifact-${{ matrix.os }}-${{ matrix.python }}"
61
+ path: wheelhouse
62
+ - run: echo "${{ matrix.python }}" | sed "s/cp3/PYTHON_VERSION=3./" >> "${GITHUB_ENV}"
63
+ - uses: actions/setup-python@v6
64
+ with:
65
+ python-version: ${{ env.PYTHON_VERSION }}
66
+ - name: index
67
+ run: |
68
+ python -m pip install -U pip
69
+ python -m pip install wheel simple503
70
+ python -m simple503 --base-url ${{ github.workspace }}/wheelhouse ${{ github.workspace }}/wheelhouse
71
+ - name: install deps
72
+ run: python -m pip install cmeel $DEPS
73
+ - name: install wheel
74
+ run: python -m pip install -i "file://${{ github.workspace }}/wheelhouse" $PROJECT
75
+
76
+ sdist:
77
+ runs-on: ubuntu-24.04
78
+ steps:
79
+ - uses: actions/checkout@v6
80
+ with:
81
+ submodules: 'true'
82
+ - uses: actions/setup-python@v6
83
+ with:
84
+ python-version: 3.13
85
+ - name: setup
86
+ run: |
87
+ python -m pip install -U pip
88
+ python -m pip install build cmeel[build] $DEPS
89
+ - name: build sdist
90
+ run: python -m build -nso dist .
91
+ - uses: actions/upload-artifact@v7
92
+ with:
93
+ name: artifact-sdist
94
+ path: dist
95
+
96
+ test-sdist:
97
+ runs-on: ubuntu-24.04
98
+ needs: ["sdist"]
99
+ name: "Test sdist"
100
+ steps:
101
+ - uses: actions/download-artifact@v8
102
+ with:
103
+ name: "artifact-sdist"
104
+ path: dist
105
+ - uses: actions/setup-python@v6
106
+ with:
107
+ python-version: 3.13
108
+ - name: setup
109
+ run: |
110
+ python -m pip install -U pip
111
+ python -m pip install build cmeel[build] $DEPS
112
+ - name: install sdist
113
+ run: python -m pip install dist/$(echo "$PROJECT" | tr - _)*.tar.gz
114
+
115
+ release:
116
+ needs: ["test-wheel", "test-sdist"]
117
+ if: ${{ startsWith(github.ref, 'refs/tags/v') }}
118
+ runs-on: ubuntu-24.04
119
+ environment: release
120
+ permissions:
121
+ id-token: write
122
+ contents: write
123
+ steps:
124
+ - uses: actions/checkout@v7
125
+ with:
126
+ ref: ${{ github.ref_name }}
127
+ - run: curl https://github.com/nim65s.gpg | gpg --import
128
+ - name: validate signature
129
+ run: >
130
+ git verify-tag --raw ${{ github.ref_name }} 2>&1
131
+ | grep -q 'VALIDSIG 9B1A79065D2F2B806C8A5A1C7D2ACDAF4653CF28'
132
+ - uses: actions/download-artifact@v8
133
+ with:
134
+ merge-multiple: true
135
+ path: dist
136
+ - run: echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
137
+ - run: gh release create -t "Release ${{ env.TAG}}" "${{ env.TAG }}" dist/$(echo $PROJECT | tr - _)*.{whl,tar.gz}
138
+ env:
139
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
140
+ - name: Publish package distributions to PyPI
141
+ uses: pypa/gh-action-pypi-publish@release/v1
142
+ with:
143
+ skip-existing: true
144
+
145
+ check:
146
+ if: always()
147
+ name: check-macos-linux
148
+
149
+ needs:
150
+ - test-wheel
151
+ - test-sdist
152
+
153
+ runs-on: Ubuntu-latest
154
+
155
+ steps:
156
+ - name: Decide whether the needed jobs succeeded or failed
157
+ uses: re-actors/alls-green@release/v1
158
+ with:
159
+ jobs: ${{ toJSON(needs) }}
@@ -0,0 +1,31 @@
1
+ name: update-flake-lock
2
+ on:
3
+ workflow_dispatch:
4
+ schedule:
5
+ - cron: '0 6 7 * *'
6
+ jobs:
7
+ update-flake-inputs:
8
+ runs-on: ubuntu-slim
9
+ permissions:
10
+ contents: write
11
+ pull-requests: write
12
+ steps:
13
+ - name: Generate GitHub App Token
14
+ id: app-token
15
+ uses: actions/create-github-app-token@v3
16
+ with:
17
+ app-id: ${{ secrets.GEPETTO_NIX_APP_ID }}
18
+ private-key: ${{ secrets.GEPETTO_NIX_APP_PRIVATE_KEY }}
19
+ - name: Checkout repository
20
+ uses: actions/checkout@v7
21
+ with:
22
+ token: ${{ steps.app-token.outputs.token }}
23
+ - name: Setup Nix
24
+ uses: cachix/install-nix-action@v31
25
+ - name: Update flake inputs
26
+ uses: mic92/update-flake-inputs@v1
27
+ with:
28
+ github-token: ${{ steps.app-token.outputs.token }}
29
+ pr-labels: 'no-changelog'
30
+ git-author-name: 'hrp2-14'
31
+ git-author-email: '40568249+hrp2-14@users.noreply.github.com'
@@ -0,0 +1 @@
1
+ include: https://rainboard.laas.fr/project/hpp-manipulation-urdf/.gitlab-ci.yml
@@ -0,0 +1,14 @@
1
+ pull_request_rules:
2
+ - name: merge [bot] PRs when CI pass
3
+ conditions:
4
+ - check-success = "check-macos-linux-nix"
5
+ - check-success = "check-ros-ci"
6
+ - check-success = "pre-commit.ci - pr"
7
+ - or:
8
+ - author = dependabot[bot]
9
+ - author = gepetto-flake-updater[bot]
10
+ - author = github-actions[bot]
11
+ - author = hrp2-14
12
+ - author = pre-commit-ci[bot]
13
+ actions:
14
+ merge:
@@ -0,0 +1,40 @@
1
+ ci:
2
+ autoupdate_schedule: quarterly
3
+ repos:
4
+ - repo: https://github.com/BlankSpruce/gersemi-pre-commit
5
+ rev: 0.27.7
6
+ hooks:
7
+ - id: gersemi
8
+ - repo: https://github.com/astral-sh/ruff-pre-commit
9
+ rev: v0.15.20
10
+ hooks:
11
+ - id: ruff-check
12
+ - id: ruff-format
13
+ - repo: https://github.com/pappasam/toml-sort
14
+ rev: v0.24.4
15
+ hooks:
16
+ - id: toml-sort-fix
17
+ - repo: https://github.com/pre-commit/mirrors-clang-format
18
+ rev: v22.1.5
19
+ hooks:
20
+ - id: clang-format
21
+ args:
22
+ - --style=Google
23
+ - repo: https://github.com/pre-commit/pre-commit-hooks
24
+ rev: v6.0.0
25
+ hooks:
26
+ - id: check-added-large-files
27
+ - id: check-ast
28
+ - id: check-executables-have-shebangs
29
+ - id: check-json
30
+ - id: check-merge-conflict
31
+ - id: check-symlinks
32
+ - id: check-toml
33
+ - id: check-yaml
34
+ - id: debug-statements
35
+ - id: destroyed-symlinks
36
+ - id: detect-private-key
37
+ - id: end-of-file-fixer
38
+ - id: fix-byte-order-marker
39
+ - id: mixed-line-ending
40
+ - id: trailing-whitespace
@@ -0,0 +1,120 @@
1
+ #
2
+ # Copyright (c) 2010, 2011, 2020, CNRS Authors: Joseph Mirabel, Guilhem Saurel
3
+ #
4
+
5
+ # Redistribution and use in source and binary forms, with or without
6
+ # modification, are permitted provided that the following conditions are met:
7
+ #
8
+ # 1. Redistributions of source code must retain the above copyright notice, this
9
+ # list of conditions and the following disclaimer.
10
+ #
11
+ # 1. Redistributions in binary form must reproduce the above copyright notice,
12
+ # this list of conditions and the following disclaimer in the documentation
13
+ # and/or other materials provided with the distribution.
14
+ #
15
+ # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
16
+ # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17
+ # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
18
+ # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
19
+ # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20
+ # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
21
+ # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
22
+ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
23
+ # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
24
+ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25
+
26
+ cmake_minimum_required(VERSION 3.22)
27
+
28
+ set(PROJECT_NAME hpp-manipulation-urdf)
29
+ set(PROJECT_DESCRIPTION "Implementation of a parser for hpp-manipulation.")
30
+
31
+ set(PROJECT_USE_CMAKE_EXPORT TRUE)
32
+ set(CXX_DISABLE_WERROR TRUE)
33
+
34
+ # Check if the submodule cmake have been initialized
35
+ set(JRL_CMAKE_MODULES "${CMAKE_CURRENT_LIST_DIR}/cmake")
36
+ if(EXISTS "${JRL_CMAKE_MODULES}/base.cmake")
37
+ message(STATUS "JRL cmakemodules found in 'cmake/' git submodule")
38
+ else()
39
+ find_package(jrl-cmakemodules QUIET CONFIG)
40
+ if(jrl-cmakemodules_FOUND)
41
+ get_property(
42
+ JRL_CMAKE_MODULES
43
+ TARGET jrl-cmakemodules::jrl-cmakemodules
44
+ PROPERTY INTERFACE_INCLUDE_DIRECTORIES
45
+ )
46
+ message(
47
+ STATUS
48
+ "JRL cmakemodules found on system at ${JRL_CMAKE_MODULES}"
49
+ )
50
+ else()
51
+ message(STATUS "JRL cmakemodules not found. Let's fetch it.")
52
+ include(FetchContent)
53
+ FetchContent_Declare(
54
+ "jrl-cmakemodules"
55
+ GIT_REPOSITORY "https://github.com/jrl-umi3218/jrl-cmakemodules.git"
56
+ )
57
+ FetchContent_MakeAvailable("jrl-cmakemodules")
58
+ FetchContent_GetProperties(
59
+ "jrl-cmakemodules"
60
+ SOURCE_DIR JRL_CMAKE_MODULES
61
+ )
62
+ endif()
63
+ endif()
64
+
65
+ include("${JRL_CMAKE_MODULES}/hpp.cmake")
66
+
67
+ compute_project_args(PROJECT_ARGS LANGUAGES CXX)
68
+ project(${PROJECT_NAME} ${PROJECT_ARGS})
69
+
70
+ add_project_dependency(TinyXML2 REQUIRED FIND_EXTERNAL TinyXML)
71
+
72
+ add_project_dependency("hpp-manipulation" REQUIRED)
73
+ if(BUILD_TESTING)
74
+ add_project_dependency(example-robot-data REQUIRED)
75
+ endif()
76
+
77
+ # Declare Headers
78
+ set(${PROJECT_NAME}_HEADERS
79
+ include/hpp/manipulation/parser/parser.hh
80
+ include/hpp/manipulation/parser/factories/sequence.hh
81
+ include/hpp/manipulation/parser/factories/ignoretag.hh
82
+ include/hpp/manipulation/srdf/util.hh
83
+ include/hpp/manipulation/srdf/factories.hh
84
+ include/hpp/manipulation/srdf/factories/contact.hh
85
+ include/hpp/manipulation/srdf/factories/gripper.hh
86
+ include/hpp/manipulation/srdf/factories/handle.hh
87
+ include/hpp/manipulation/srdf/factories/position.hh
88
+ include/hpp/manipulation/srdf/factories/robot.hh
89
+ )
90
+
91
+ set(${PROJECT_NAME}_SOURCES
92
+ src/parser/parser.cc
93
+ src/parser/factories/sequence.cc
94
+ src/srdf/util.cc
95
+ src/srdf/factories/handle.cc
96
+ src/srdf/factories/gripper.cc
97
+ src/srdf/factories/contact.cc
98
+ src/srdf/factories/position.cc
99
+ src/srdf/factories/robot.cc
100
+ )
101
+
102
+ add_library(
103
+ ${PROJECT_NAME}
104
+ SHARED
105
+ ${${PROJECT_NAME}_SOURCES}
106
+ ${${PROJECT_NAME}_HEADERS}
107
+ )
108
+ target_include_directories(
109
+ ${PROJECT_NAME}
110
+ PUBLIC $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
111
+ )
112
+ target_link_libraries(${PROJECT_NAME} hpp-manipulation::hpp-manipulation)
113
+
114
+ install(TARGETS ${PROJECT_NAME} EXPORT ${TARGETS_EXPORT_NAME} DESTINATION lib)
115
+
116
+ if(BUILD_TESTING)
117
+ add_subdirectory(tests)
118
+ endif()
119
+
120
+ pkg_config_append_libs(${PROJECT_NAME})
@@ -0,0 +1,7 @@
1
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
2
+
3
+ 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
4
+
5
+ 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
6
+
7
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@@ -0,0 +1,8 @@
1
+ -*- outline -*-
2
+ New in 4.10.0
3
+ * Add package.xml
4
+
5
+ 2014/11/18 - Release 1.0
6
+ * Handle parser
7
+ * Gripper parser
8
+ * Contact parser
@@ -0,0 +1,61 @@
1
+ Metadata-Version: 2.4
2
+ Name: hpp-manipulation-urdf
3
+ Version: 9.0.0
4
+ Summary: Implementation of a parser for hpp-manipulation
5
+ Requires-Python: >=3.9
6
+ License-Expression: BSD-2-Clause
7
+ License-File: LICENSE
8
+ Requires-Dist: cmeel
9
+ Requires-Dist: cmeel-boost ~= 1.90.0
10
+ Requires-Dist: hpp-manipulation
11
+ Provides-Extra: build
12
+ Requires-Dist: cmeel-boost[build] ~= 1.90.0; extra == "build"
13
+ Requires-Dist: hpp-manipulation[build]; extra == "build"
14
+ Description-Content-Type: text/markdown
15
+
16
+ # hpp-manipulation-urdf
17
+
18
+ [![Building Status](https://travis-ci.org/humanoid-path-planner/hpp-manipulation-urdf.svg?branch=master)](https://travis-ci.org/humanoid-path-planner/hpp-manipulation-urdf)
19
+ [![Pipeline status](https://gitlab.laas.fr/humanoid-path-planner/hpp-manipulation-urdf/badges/master/pipeline.svg)](https://gitlab.laas.fr/humanoid-path-planner/hpp-manipulation-urdf/commits/master)
20
+ [![Coverage report](https://gitlab.laas.fr/humanoid-path-planner/hpp-manipulation-urdf/badges/master/coverage.svg?job=doc-coverage)](https://gepettoweb.laas.fr/doc/humanoid-path-planner/hpp-manipulation-urdf/master/coverage/)
21
+ [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
22
+ [![pre-commit.ci status](https://results.pre-commit.ci/badge/github/humanoid-path-planner/hpp-manipulation-urdf/master.svg)](https://results.pre-commit.ci/latest/github/humanoid-path-planner/hpp-manipulation-urdf)
23
+
24
+ This package is part of the [HPP] software and extends the functionalities of hpp-model-urdf.
25
+ It implements a URDF/SRDF parser for the package hpp-manipulation.
26
+
27
+ ### Dependencies
28
+
29
+ hpp-manipulation-urdf needs the following package to be installed:
30
+
31
+ * [hpp-manipulation]
32
+ * [hpp-model]
33
+ * [hpp-util]
34
+ * [ressource_retriever] is a ROS package.
35
+ * [hpp-model-urdf] is a URDF/SRDF parser for [HPP] software.
36
+ * [TinyXML] is a simple, small, efficient, C++ XML parser.
37
+
38
+ ### Installation
39
+
40
+ Make sure you have installed all the dependency.
41
+
42
+ ```sh
43
+ $ git clone https://github.com/billx09/hpp-manipulation-urdf
44
+ $ cd hpp-manipulation-urdf
45
+ $ mkdir build && cd build
46
+ $ cmake ..
47
+ $ make install
48
+ ```
49
+
50
+ ### Todo's
51
+
52
+ * Implement a factory for AxialHandle (See [hpp-manipulation])
53
+
54
+ [TinyXML]:http://www.grinninglizard.com/tinyxml
55
+ [hpp-model-urdf]:https://github.com/humanoid-path-planner/hpp-model-urdf
56
+ [HPP]:https://github.com/humanoid-path-planner/hpp-doc
57
+ [hpp-manipulation-urdf]:https://github.com/billx09/hpp-manipulation-urdf
58
+ [hpp-manipulation]:https://github.com/billx09/hpp-manipulation
59
+ [hpp-model]:https://github.com/humanoid-path-planner/hpp-model
60
+ [hpp-util]:https://github.com/humanoid-path-planner/hpp-util
61
+ [ressource_retriever]:http://wiki.ros.org/resource_retriever
@@ -0,0 +1,46 @@
1
+ # hpp-manipulation-urdf
2
+
3
+ [![Building Status](https://travis-ci.org/humanoid-path-planner/hpp-manipulation-urdf.svg?branch=master)](https://travis-ci.org/humanoid-path-planner/hpp-manipulation-urdf)
4
+ [![Pipeline status](https://gitlab.laas.fr/humanoid-path-planner/hpp-manipulation-urdf/badges/master/pipeline.svg)](https://gitlab.laas.fr/humanoid-path-planner/hpp-manipulation-urdf/commits/master)
5
+ [![Coverage report](https://gitlab.laas.fr/humanoid-path-planner/hpp-manipulation-urdf/badges/master/coverage.svg?job=doc-coverage)](https://gepettoweb.laas.fr/doc/humanoid-path-planner/hpp-manipulation-urdf/master/coverage/)
6
+ [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
7
+ [![pre-commit.ci status](https://results.pre-commit.ci/badge/github/humanoid-path-planner/hpp-manipulation-urdf/master.svg)](https://results.pre-commit.ci/latest/github/humanoid-path-planner/hpp-manipulation-urdf)
8
+
9
+ This package is part of the [HPP] software and extends the functionalities of hpp-model-urdf.
10
+ It implements a URDF/SRDF parser for the package hpp-manipulation.
11
+
12
+ ### Dependencies
13
+
14
+ hpp-manipulation-urdf needs the following package to be installed:
15
+
16
+ * [hpp-manipulation]
17
+ * [hpp-model]
18
+ * [hpp-util]
19
+ * [ressource_retriever] is a ROS package.
20
+ * [hpp-model-urdf] is a URDF/SRDF parser for [HPP] software.
21
+ * [TinyXML] is a simple, small, efficient, C++ XML parser.
22
+
23
+ ### Installation
24
+
25
+ Make sure you have installed all the dependency.
26
+
27
+ ```sh
28
+ $ git clone https://github.com/billx09/hpp-manipulation-urdf
29
+ $ cd hpp-manipulation-urdf
30
+ $ mkdir build && cd build
31
+ $ cmake ..
32
+ $ make install
33
+ ```
34
+
35
+ ### Todo's
36
+
37
+ * Implement a factory for AxialHandle (See [hpp-manipulation])
38
+
39
+ [TinyXML]:http://www.grinninglizard.com/tinyxml
40
+ [hpp-model-urdf]:https://github.com/humanoid-path-planner/hpp-model-urdf
41
+ [HPP]:https://github.com/humanoid-path-planner/hpp-doc
42
+ [hpp-manipulation-urdf]:https://github.com/billx09/hpp-manipulation-urdf
43
+ [hpp-manipulation]:https://github.com/billx09/hpp-manipulation
44
+ [hpp-model]:https://github.com/humanoid-path-planner/hpp-model
45
+ [hpp-util]:https://github.com/humanoid-path-planner/hpp-util
46
+ [ressource_retriever]:http://wiki.ros.org/resource_retriever
@@ -0,0 +1,6 @@
1
+ INPUT = @CMAKE_SOURCE_DIR@/include \
2
+ @CMAKE_SOURCE_DIR@/doc
3
+
4
+ EXAMPLE_PATH = @CMAKE_SOURCE_DIR@/doc
5
+
6
+ HIDE_FRIEND_COMPOUNDS = YES