example-robot-data-loaders 6.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 (34) hide show
  1. example_robot_data_loaders-6.0.0/.git-blame-ignore-revs +41 -0
  2. example_robot_data_loaders-6.0.0/.gitattributes +1 -0
  3. example_robot_data_loaders-6.0.0/.github/dependabot.yml +6 -0
  4. example_robot_data_loaders-6.0.0/.github/workflows/ci_ros2.yml +32 -0
  5. example_robot_data_loaders-6.0.0/.github/workflows/nix.yml +40 -0
  6. example_robot_data_loaders-6.0.0/.github/workflows/release.yml +151 -0
  7. example_robot_data_loaders-6.0.0/.github/workflows/update-flake-lock.yml +31 -0
  8. example_robot_data_loaders-6.0.0/.gitignore +5 -0
  9. example_robot_data_loaders-6.0.0/.gitlab-ci.yml +1 -0
  10. example_robot_data_loaders-6.0.0/.mergify.yml +17 -0
  11. example_robot_data_loaders-6.0.0/.pre-commit-config.yaml +41 -0
  12. example_robot_data_loaders-6.0.0/CHANGELOG.md +397 -0
  13. example_robot_data_loaders-6.0.0/CMakeLists.txt +107 -0
  14. example_robot_data_loaders-6.0.0/LICENSE +26 -0
  15. example_robot_data_loaders-6.0.0/PKG-INFO +87 -0
  16. example_robot_data_loaders-6.0.0/README.md +70 -0
  17. example_robot_data_loaders-6.0.0/colcon.pkg +6 -0
  18. example_robot_data_loaders-6.0.0/flake.lock +290 -0
  19. example_robot_data_loaders-6.0.0/flake.nix +37 -0
  20. example_robot_data_loaders-6.0.0/include/example-robot-data/path.hpp +9 -0
  21. example_robot_data_loaders-6.0.0/package.xml +96 -0
  22. example_robot_data_loaders-6.0.0/pyproject.toml +36 -0
  23. example_robot_data_loaders-6.0.0/python/CMakeLists.txt +37 -0
  24. example_robot_data_loaders-6.0.0/python/example_robot_data/__init__.py +2 -0
  25. example_robot_data_loaders-6.0.0/python/example_robot_data/__main__.py +15 -0
  26. example_robot_data_loaders-6.0.0/python/example_robot_data/human.py +1327 -0
  27. example_robot_data_loaders-6.0.0/python/example_robot_data/panda.py +70 -0
  28. example_robot_data_loaders-6.0.0/python/example_robot_data/path.py.in +2 -0
  29. example_robot_data_loaders-6.0.0/python/example_robot_data/robots_loader.py +526 -0
  30. example_robot_data_loaders-6.0.0/python/example_robot_data/talos.py +99 -0
  31. example_robot_data_loaders-6.0.0/python/example_robot_data/utils.py +174 -0
  32. example_robot_data_loaders-6.0.0/unittest/CMakeLists.txt +7 -0
  33. example_robot_data_loaders-6.0.0/unittest/test_inertia_validation.py +93 -0
  34. example_robot_data_loaders-6.0.0/unittest/test_load.py +240 -0
@@ -0,0 +1,41 @@
1
+ # format (Guilhem Saurel, 2022-04-11)
2
+ a6aa4f4b6cf0a1857fba3075566745dbf4c22e18
3
+
4
+ # pre-commit clean (Guilhem Saurel, 2022-04-01)
5
+ 3ff105e250d5f984d5200a52c2791263be96da5d
6
+
7
+ # update tooling (Guilhem Saurel, 2022-03-31)
8
+ d27092f3d16c077b70216e47635d1d29247a5dde
9
+
10
+ # format (Rohan Budhiraja, 2022-03-31)
11
+ 98c7ea06d36d670e6d1f6377b2728e33540af4c7
12
+
13
+ # update python format (Guilhem Saurel, 2022-02-17)
14
+ 4dba3f86c0a96379fa479e8b768d315daca70bc2
15
+
16
+ # Address python code formatting (Julian Viereck, 2021-06-14)
17
+ c3e1dffe22d450e5301d4f7801a14974286d7c61
18
+
19
+ # format (Guilhem Saurel, 2021-05-26)
20
+ 2abddbc5c3833379bace126ab7cb0a07f1addaff
21
+
22
+ # [cleanup] Fixed code format (Carlos Mastalli, 2021-05-04)
23
+ c89f2524bf9b1a76ec29b99910caea641c1b2496
24
+
25
+ # python: format (Guilhem Saurel, 2020-10-13)
26
+ 2f6b85c741b981d90185e25845a4614a7a97e98b
27
+
28
+ # [Format] fix linters (Guilhem Saurel, 2019-08-28)
29
+ 9f92ecdf27449c8404bce0d5756fa65ab1a4912c
30
+
31
+ # [format] Formatted the robot_loader script (Carlos Mastalli, 2019-08-28)
32
+ 34d3182c9ee99568706921f3e94c5fdd75254c17
33
+
34
+ # [format] Fixed further errors in the code (Carlos Mastalli, 2019-04-16)
35
+ 9ce3cc472c367373812b3401a8efbc85094f8423
36
+
37
+ # [format] Added format configuration (Carlos Mastalli, 2019-04-16)
38
+ 5c6492c035e9f98c686dc8859af1ae0fe56b2b60
39
+
40
+ # [format] Fixed format issues (Carlos Mastalli, 2019-04-16)
41
+ be1a995b9683a9989755c9a5be8676d82a4589bc
@@ -0,0 +1 @@
1
+ robots export-ignore
@@ -0,0 +1,6 @@
1
+ version: 2
2
+ updates:
3
+ - package-ecosystem: "github-actions"
4
+ directory: "/"
5
+ schedule:
6
+ interval: "monthly"
@@ -0,0 +1,32 @@
1
+ name: ROS2 Continuous Integration
2
+ on:
3
+ push:
4
+ branches:
5
+ - main
6
+ pull_request:
7
+ jobs:
8
+ build:
9
+ strategy:
10
+ fail-fast: false
11
+ matrix:
12
+ env:
13
+ - {ROS_DISTRO: humble}
14
+ - {ROS_DISTRO: jazzy}
15
+ - {ROS_DISTRO: kilted}
16
+ - {ROS_DISTRO: lyrical}
17
+ - {ROS_DISTRO: rolling}
18
+ runs-on: ubuntu-latest
19
+ steps:
20
+ - uses: actions/checkout@v7
21
+ - uses: 'ros-industrial/industrial_ci@125164b9f1883cdf1858897a7146d1bebf2be5c6'
22
+ env: ${{ matrix.env }}
23
+ check:
24
+ if: always()
25
+ name: check-ros-ci
26
+ runs-on: ubuntu-latest
27
+ needs:
28
+ - build
29
+ steps:
30
+ - uses: re-actors/alls-green@release/v1
31
+ with:
32
+ jobs: ${{ toJSON(needs) }}
@@ -0,0 +1,40 @@
1
+ name: "CI - Nix"
2
+ on:
3
+ push:
4
+ branches:
5
+ - cmeel
6
+ - devel
7
+ - master
8
+ - main
9
+ pull_request:
10
+ branches:
11
+ - cmeel
12
+ - devel
13
+ - master
14
+ - main
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,151 @@
1
+ name: Release on GitHub & PyPI
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - "v*"
7
+ branches:
8
+ - cmeel
9
+ pull_request:
10
+ branches:
11
+ - cmeel
12
+
13
+ env:
14
+ CMEEL_LOG_LEVEL: DEBUG
15
+ DEPS: pin[build] scipy example-robot-data
16
+ PROJECT: example-robot-data-loaders
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"]
25
+ python: ["cp310", "cp311", "cp312", "cp313", "cp314"]
26
+ steps:
27
+ - uses: actions/checkout@v7
28
+ with:
29
+ submodules: 'true'
30
+ - run: echo "${{ matrix.python }}" | sed "s/cp3/PYTHON_VERSION=3./" >> "${GITHUB_ENV}"
31
+ - uses: actions/setup-python@v7
32
+ with:
33
+ python-version: ${{ env.PYTHON_VERSION }}
34
+ - run: python -m pip install -U pip
35
+ - run: python -m pip wheel -vw wheelhouse .
36
+ - uses: actions/upload-artifact@v7
37
+ with:
38
+ name: "artifact-${{ matrix.os }}-${{ matrix.python }}"
39
+ path: wheelhouse
40
+
41
+ test-wheel:
42
+ needs: ["wheel"]
43
+ name: "Test ${{ matrix.python }} ${{ matrix.os }}"
44
+ runs-on: "${{ matrix.os }}"
45
+ strategy:
46
+ matrix:
47
+ os: ["ubuntu-24.04"]
48
+ python: ["cp310", "cp311", "cp312", "cp313", "cp314"]
49
+ steps:
50
+ - uses: actions/download-artifact@v8
51
+ with:
52
+ name: "artifact-${{ matrix.os }}-${{ matrix.python }}"
53
+ path: wheelhouse
54
+ - run: echo "${{ matrix.python }}" | sed "s/cp3/PYTHON_VERSION=3./" >> "${GITHUB_ENV}"
55
+ - uses: actions/setup-python@v7
56
+ with:
57
+ python-version: ${{ env.PYTHON_VERSION }}
58
+ - name: index
59
+ run: |
60
+ python -m pip install -U pip
61
+ python -m pip install wheel simple503
62
+ python -m simple503 --base-url ${{ github.workspace }}/wheelhouse ${{ github.workspace }}/wheelhouse
63
+ - name: install deps
64
+ run: python -m pip install cmeel $DEPS
65
+ - name: install wheel
66
+ run: python -m pip install -i "file://${{ github.workspace }}/wheelhouse" $PROJECT
67
+
68
+ sdist:
69
+ runs-on: ubuntu-24.04
70
+ steps:
71
+ - uses: actions/checkout@v7
72
+ with:
73
+ submodules: 'true'
74
+ - uses: actions/setup-python@v7
75
+ with:
76
+ python-version: 3.13
77
+ - name: setup
78
+ run: |
79
+ python -m pip install -U pip
80
+ python -m pip install build cmeel[build] $DEPS
81
+ - name: build sdist
82
+ run: python -m build -nso dist .
83
+ - uses: actions/upload-artifact@v7
84
+ with:
85
+ name: artifact-sdist
86
+ path: dist
87
+
88
+ test-sdist:
89
+ runs-on: ubuntu-24.04
90
+ needs: ["sdist"]
91
+ name: "Test sdist"
92
+ steps:
93
+ - uses: actions/download-artifact@v8
94
+ with:
95
+ name: "artifact-sdist"
96
+ path: dist
97
+ - uses: actions/setup-python@v7
98
+ with:
99
+ python-version: 3.13
100
+ - name: setup
101
+ run: |
102
+ python -m pip install -U pip
103
+ python -m pip install build cmeel[build] $DEPS
104
+ - name: install sdist
105
+ run: python -m pip install dist/$(echo "$PROJECT" | tr - _)*.tar.gz
106
+
107
+ release:
108
+ needs: ["test-wheel", "test-sdist"]
109
+ if: ${{ startsWith(github.ref, 'refs/tags/v') }}
110
+ runs-on: ubuntu-24.04
111
+ environment: release
112
+ permissions:
113
+ id-token: write
114
+ contents: write
115
+ steps:
116
+ - uses: actions/checkout@v7
117
+ with:
118
+ ref: ${{ github.ref_name }}
119
+ - run: curl https://github.com/nim65s.gpg | gpg --import
120
+ - name: validate signature
121
+ run: >
122
+ git verify-tag --raw ${{ github.ref_name }} 2>&1
123
+ | grep -q 'VALIDSIG 9B1A79065D2F2B806C8A5A1C7D2ACDAF4653CF28'
124
+ - uses: actions/download-artifact@v8
125
+ with:
126
+ merge-multiple: true
127
+ path: dist
128
+ - run: echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
129
+ - run: gh release create -t "Release ${{ env.TAG}}" "${{ env.TAG }}" dist/$(echo $PROJECT | tr - _)*.{whl,tar.gz}
130
+ env:
131
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
132
+ - name: Publish package distributions to PyPI
133
+ uses: pypa/gh-action-pypi-publish@release/v1
134
+ with:
135
+ skip-existing: true
136
+
137
+ check:
138
+ if: always()
139
+ name: check-macos-linux
140
+
141
+ needs:
142
+ - test-wheel
143
+ - test-sdist
144
+
145
+ runs-on: Ubuntu-latest
146
+
147
+ steps:
148
+ - name: Decide whether the needed jobs succeeded or failed
149
+ uses: re-actors/alls-green@release/v1
150
+ with:
151
+ jobs: ${{ toJSON(needs) }}
@@ -0,0 +1,31 @@
1
+ name: update-flake-lock
2
+ on:
3
+ workflow_dispatch:
4
+ schedule:
5
+ - cron: '0 18 23 * *'
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,5 @@
1
+ *.pyc
2
+ *.pyd
3
+ *.pyo
4
+ build*
5
+ *~
@@ -0,0 +1 @@
1
+ include: https://rainboard.laas.fr/project/example-robot-data/.gitlab-ci.yml
@@ -0,0 +1,17 @@
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 = nim65s
12
+ - author = hrp2-14
13
+ - author = pre-commit-ci[bot]
14
+ actions:
15
+ merge:
16
+ merge_queue:
17
+ queue_controls_comment: false
@@ -0,0 +1,41 @@
1
+ ci:
2
+ autoupdate_schedule: quarterly
3
+ repos:
4
+ - repo: https://github.com/BlankSpruce/gersemi-pre-commit
5
+ rev: 0.29.2
6
+ hooks:
7
+ - id: gersemi
8
+ - repo: https://github.com/astral-sh/ruff-pre-commit
9
+ rev: v0.17.3
10
+ hooks:
11
+ - id: ruff-check
12
+ - id: ruff-format
13
+ - repo: https://github.com/pappasam/toml-sort
14
+ rev: v0.25.0
15
+ hooks:
16
+ - id: toml-sort-fix
17
+ - repo: https://github.com/pre-commit/mirrors-clang-format
18
+ rev: v23.1.3
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
41
+ exclude: tests/test_python-syntax_error.py