panda-python 0.5.0__tar.gz → 0.5.1__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.
- panda-python-0.5.1/.github/workflows/build.yml +98 -0
- panda-python-0.5.1/.readthedocs.yml +13 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/CMakeLists.txt +3 -3
- {panda-python-0.5.0 → panda-python-0.5.1}/PKG-INFO +3 -3
- {panda-python-0.5.0 → panda-python-0.5.1}/README.md +2 -2
- {panda-python-0.5.0 → panda-python-0.5.1}/bin/build_all.sh +5 -1
- {panda-python-0.5.0 → panda-python-0.5.1}/docs/conf.py +1 -1
- panda-python-0.5.1/docs/requirements.txt +3 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/pyproject.toml +3 -3
- panda-python-0.5.0/.github/workflows/build.yml +0 -82
- {panda-python-0.5.0 → panda-python-0.5.1}/.gitignore +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/.pylintrc +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/.vscode/c_cpp_properties.json +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/.vscode/generate_docs_api.sh +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/.vscode/settings.json +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/.vscode/tasks.json +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/LICENSE +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/bin/before_install.sh +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/docs/Makefile +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/docs/index.rst +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/docs/make.bat +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/docs/panda_py.cli.rst +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/docs/panda_py.constants.rst +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/docs/panda_py.controllers.rst +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/docs/panda_py.libfranka.rst +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/docs/panda_py.motion.rst +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/docs/panda_py.rst +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/examples/cartesian_impedance.py +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/examples/communication_test.py +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/examples/mmc.py +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/examples/notebooks/benchmark.ipynb +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/examples/notebooks/motion.ipynb +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/examples/notebooks/paper.ipynb +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/include/constants.h +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/include/controllers/applied_force.h +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/include/controllers/applied_torque.h +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/include/controllers/cartesian_impedance.h +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/include/controllers/controller.h +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/include/controllers/force.h +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/include/controllers/integrated_velocity.h +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/include/controllers/joint_limits/virtual_wall.h +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/include/controllers/joint_limits/virtual_wall_controller.h +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/include/controllers/joint_position.h +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/include/controllers/trajectory.h +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/include/kinematics/fk.h +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/include/kinematics/ik.h +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/include/motion/generators.h +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/include/motion/time_optimal/path.h +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/include/motion/time_optimal/trajectory.h +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/include/panda.h +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/include/utils.h +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/logo.jpg +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/src/_core.cpp +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/src/controllers/applied_force.cpp +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/src/controllers/applied_torque.cpp +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/src/controllers/cartesian_impedance.cpp +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/src/controllers/force.cpp +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/src/controllers/integrated_velocity.cpp +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/src/controllers/joint_limits/virtual_wall.cpp +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/src/controllers/joint_position.cpp +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/src/controllers/trajectory.cpp +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/src/libfranka.cpp +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/src/motion/generators.cpp +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/src/motion/time_optimal/path.cpp +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/src/motion/time_optimal/trajectory.cpp +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/src/panda.cpp +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/src/panda_py/__init__.py +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/src/panda_py/__init__.pyi +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/src/panda_py/_core/__init__.pyi +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/src/panda_py/cli.py +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/src/panda_py/constants.py +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/src/panda_py/controllers.py +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/src/panda_py/libfranka/__init__.pyi +0 -0
- {panda-python-0.5.0 → panda-python-0.5.1}/src/panda_py/motion.py +0 -0
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
name: build
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: [main]
|
|
8
|
+
release:
|
|
9
|
+
types: [published]
|
|
10
|
+
|
|
11
|
+
env:
|
|
12
|
+
VERSION: 0.5.1
|
|
13
|
+
|
|
14
|
+
permissions: write-all
|
|
15
|
+
|
|
16
|
+
jobs:
|
|
17
|
+
build_wheels:
|
|
18
|
+
name: Build wheels on ubuntu-latest
|
|
19
|
+
runs-on: ubuntu-latest
|
|
20
|
+
steps:
|
|
21
|
+
- uses: actions/checkout@v3
|
|
22
|
+
- uses: actions/setup-python@v3
|
|
23
|
+
- name: Install cibuildwheel
|
|
24
|
+
run: python -m pip install cibuildwheel==2.12.0
|
|
25
|
+
- name: Build wheels
|
|
26
|
+
run: ./bin/build_all.sh
|
|
27
|
+
- uses: actions/upload-artifact@v3
|
|
28
|
+
with:
|
|
29
|
+
path: ./dist/*.whl
|
|
30
|
+
name: dist
|
|
31
|
+
- uses: actions/upload-artifact@v3
|
|
32
|
+
with:
|
|
33
|
+
path: ./archive/*.zip
|
|
34
|
+
name: archive
|
|
35
|
+
|
|
36
|
+
build_sdist:
|
|
37
|
+
name: Build source distribution
|
|
38
|
+
runs-on: ubuntu-latest
|
|
39
|
+
steps:
|
|
40
|
+
- uses: actions/checkout@v3
|
|
41
|
+
- uses: actions/setup-python@v3
|
|
42
|
+
- name: Build sdist
|
|
43
|
+
run: pipx run build --sdist
|
|
44
|
+
- uses: actions/upload-artifact@v3
|
|
45
|
+
with:
|
|
46
|
+
path: dist/*.tar.gz
|
|
47
|
+
name: dist
|
|
48
|
+
|
|
49
|
+
upload:
|
|
50
|
+
name: "Upload wheels"
|
|
51
|
+
needs: [build_wheels, build_sdist]
|
|
52
|
+
runs-on: ubuntu-latest
|
|
53
|
+
if: github.event_name == 'release' && github.event.action == 'published'
|
|
54
|
+
steps:
|
|
55
|
+
- uses: actions/download-artifact@v3
|
|
56
|
+
with:
|
|
57
|
+
name: archive
|
|
58
|
+
path: archive
|
|
59
|
+
- uses: actions/upload-release-asset@v1
|
|
60
|
+
with:
|
|
61
|
+
upload_url: ${{ github.event.release.upload_url }}
|
|
62
|
+
asset_path: ./archive/panda_py_${{ env.VERSION }}_libfranka_0.7.1.zip
|
|
63
|
+
asset_name: panda_py_${{ env.VERSION }}_libfranka_0.7.1.zip
|
|
64
|
+
asset_content_type: application/zip
|
|
65
|
+
env:
|
|
66
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
67
|
+
- uses: actions/upload-release-asset@v1
|
|
68
|
+
with:
|
|
69
|
+
upload_url: ${{ github.event.release.upload_url }}
|
|
70
|
+
asset_path: ./archive/panda_py_${{ env.VERSION }}_libfranka_0.8.0.zip
|
|
71
|
+
asset_name: panda_py_${{ env.VERSION }}_libfranka_0.8.0.zip
|
|
72
|
+
asset_content_type: application/zip
|
|
73
|
+
env:
|
|
74
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
75
|
+
- uses: actions/upload-release-asset@v1
|
|
76
|
+
with:
|
|
77
|
+
upload_url: ${{ github.event.release.upload_url }}
|
|
78
|
+
asset_path: ./archive/panda_py_${{ env.VERSION }}_libfranka_0.9.2.zip
|
|
79
|
+
asset_name: panda_py_${{ env.VERSION }}_libfranka_0.9.2.zip
|
|
80
|
+
asset_content_type: application/zip
|
|
81
|
+
env:
|
|
82
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
83
|
+
- uses: actions/upload-release-asset@v1
|
|
84
|
+
with:
|
|
85
|
+
upload_url: ${{ github.event.release.upload_url }}
|
|
86
|
+
asset_path: ./archive/panda_py_${{ env.VERSION }}_libfranka_0.10.0.zip
|
|
87
|
+
asset_name: panda_py_${{ env.VERSION }}_libfranka_0.10.0.zip
|
|
88
|
+
asset_content_type: application/zip
|
|
89
|
+
env:
|
|
90
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
91
|
+
- uses: actions/download-artifact@v3
|
|
92
|
+
with:
|
|
93
|
+
name: dist
|
|
94
|
+
path: dist
|
|
95
|
+
- uses: pypa/gh-action-pypi-publish@v1.5.0
|
|
96
|
+
with:
|
|
97
|
+
user: __token__
|
|
98
|
+
password: ${{ secrets.PYPI_API_TOKEN }}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
cmake_minimum_required(VERSION 3.15...3.25)
|
|
2
2
|
project(
|
|
3
|
-
"
|
|
3
|
+
"panda_py"
|
|
4
4
|
LANGUAGES CXX)
|
|
5
5
|
# VERSION "${SKBUILD_PROJECT_VERSION}")
|
|
6
6
|
|
|
@@ -48,7 +48,7 @@ target_include_directories(_core SYSTEM PUBLIC
|
|
|
48
48
|
#target_compile_definitions(_core
|
|
49
49
|
# PRIVATE VERSION_INFO=${PROJECT_VERSION})
|
|
50
50
|
|
|
51
|
-
install(TARGETS _core LIBRARY DESTINATION
|
|
51
|
+
install(TARGETS _core LIBRARY DESTINATION panda_py)
|
|
52
52
|
|
|
53
53
|
## libfranka module
|
|
54
54
|
pybind11_add_module(libfranka
|
|
@@ -65,4 +65,4 @@ target_include_directories(libfranka SYSTEM PUBLIC
|
|
|
65
65
|
#target_compile_definitions(libfranka
|
|
66
66
|
# PRIVATE VERSION_INFO=${PROJECT_VERSION})
|
|
67
67
|
|
|
68
|
-
install(TARGETS libfranka LIBRARY DESTINATION
|
|
68
|
+
install(TARGETS libfranka LIBRARY DESTINATION panda_py)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: panda-python
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.1
|
|
4
4
|
Summary: Python bindings for the Panda
|
|
5
5
|
Keywords: python real-time control robot franka emika
|
|
6
6
|
Author-Email: Jean Elsner <jean.elsner@tum.de>
|
|
@@ -227,11 +227,11 @@ Provides-Extra: examples
|
|
|
227
227
|
Description-Content-Type: text/markdown
|
|
228
228
|
|
|
229
229
|
# panda-py
|
|
230
|
-

|
|
230
|
+

|
|
231
231
|
|
|
232
232
|
[](https://github.com/JeanElsner/panda-py/actions/workflows/build.yml)
|
|
233
233
|
[](https://www.apache.org/licenses/LICENSE-2.0)
|
|
234
|
-
[](https://pypi.org/project/panda-python/)
|
|
235
235
|

|
|
236
236
|
|
|
237
237
|
Finally, Python bindings for the Panda. These will increase your productivity by 1000%, guaranteed[^1]!
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
# panda-py
|
|
2
|
-

|
|
2
|
+

|
|
3
3
|
|
|
4
4
|
[](https://github.com/JeanElsner/panda-py/actions/workflows/build.yml)
|
|
5
5
|
[](https://www.apache.org/licenses/LICENSE-2.0)
|
|
6
|
-
[](https://pypi.org/project/panda-python/)
|
|
7
7
|

|
|
8
8
|
|
|
9
9
|
Finally, Python bindings for the Panda. These will increase your productivity by 1000%, guaranteed[^1]!
|
|
@@ -36,13 +36,17 @@ with open('$toml', 'w') as f:
|
|
|
36
36
|
END
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
+
mkdir $root/archive
|
|
40
|
+
|
|
39
41
|
# Build wheels for common libfranka versions
|
|
40
42
|
libfranka=("0.7.1" "0.8.0" "0.9.2" "0.10.0")
|
|
41
43
|
for value in "${libfranka[@]}"; do
|
|
42
44
|
echo "Changing libfranka version in pyproject.toml to: $value"
|
|
43
45
|
change_version "$version+libfranka-$value" "LIBFRANKA_VER=$value"
|
|
44
46
|
export LIBFRANKA_VER=$value
|
|
45
|
-
|
|
47
|
+
archive=panda_py_${version}_libfranka_${value}
|
|
48
|
+
python -m cibuildwheel --output-dir $root/$archive $root
|
|
49
|
+
zip -j $root/archive/$archive.zip $root/$archive/*.whl
|
|
46
50
|
done
|
|
47
51
|
|
|
48
52
|
# Change back to default version
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
project = 'panda-py'
|
|
10
10
|
copyright = '2023, Jean Elsner'
|
|
11
11
|
author = 'Jean Elsner'
|
|
12
|
-
release = '0.5.
|
|
12
|
+
release = '0.5.1'
|
|
13
13
|
|
|
14
14
|
# -- General configuration ---------------------------------------------------
|
|
15
15
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
|
|
@@ -7,7 +7,7 @@ name = "panda-python"
|
|
|
7
7
|
description = "Python bindings for the Panda"
|
|
8
8
|
requires-python = ">=3.7"
|
|
9
9
|
dependencies = ["websockets>=11.0", "requests", "numpy"]
|
|
10
|
-
version = "0.5.
|
|
10
|
+
version = "0.5.1"
|
|
11
11
|
authors = [
|
|
12
12
|
{ name = "Jean Elsner", email = "jean.elsner@tum.de" },
|
|
13
13
|
]
|
|
@@ -53,5 +53,5 @@ archs = [ "x86_64",]
|
|
|
53
53
|
[tool.scikit-build.cmake]
|
|
54
54
|
build-type = "Release"
|
|
55
55
|
|
|
56
|
-
[tool.scikit-build.
|
|
57
|
-
|
|
56
|
+
[tool.scikit-build.wheel]
|
|
57
|
+
packages = ["src/panda_py"]
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
name: build
|
|
2
|
-
|
|
3
|
-
permissions:
|
|
4
|
-
contents: read
|
|
5
|
-
|
|
6
|
-
on:
|
|
7
|
-
push:
|
|
8
|
-
branches: [main]
|
|
9
|
-
pull_request:
|
|
10
|
-
branches: [main]
|
|
11
|
-
release:
|
|
12
|
-
types: [published]
|
|
13
|
-
|
|
14
|
-
jobs:
|
|
15
|
-
build_wheels:
|
|
16
|
-
name: Build wheels on ubuntu-latest
|
|
17
|
-
runs-on: ubuntu-latest
|
|
18
|
-
steps:
|
|
19
|
-
- uses: actions/checkout@v3
|
|
20
|
-
- uses: actions/setup-python@v3
|
|
21
|
-
- name: Install cibuildwheel
|
|
22
|
-
run: python -m pip install cibuildwheel==2.12.0
|
|
23
|
-
- name: Build wheels
|
|
24
|
-
run: ./bin/build_all.sh
|
|
25
|
-
- uses: actions/upload-artifact@v3
|
|
26
|
-
with:
|
|
27
|
-
path: ./wheelhouse/*.whl
|
|
28
|
-
name: wheelhouse
|
|
29
|
-
- uses: actions/upload-artifact@v3
|
|
30
|
-
with:
|
|
31
|
-
path: ./dist/*.whl
|
|
32
|
-
name: dist
|
|
33
|
-
|
|
34
|
-
build_sdist:
|
|
35
|
-
name: Build source distribution
|
|
36
|
-
runs-on: ubuntu-latest
|
|
37
|
-
steps:
|
|
38
|
-
- uses: actions/checkout@v3
|
|
39
|
-
- uses: actions/setup-python@v3
|
|
40
|
-
- name: Build sdist
|
|
41
|
-
run: pipx run build --sdist
|
|
42
|
-
- uses: actions/upload-artifact@v3
|
|
43
|
-
with:
|
|
44
|
-
path: dist/*.tar.gz
|
|
45
|
-
name: dist
|
|
46
|
-
|
|
47
|
-
upload_pypi:
|
|
48
|
-
needs: [build_wheels, build_sdist]
|
|
49
|
-
runs-on: ubuntu-latest
|
|
50
|
-
if: github.event_name == 'release' && github.event.action == 'published'
|
|
51
|
-
steps:
|
|
52
|
-
- uses: actions/download-artifact@v3
|
|
53
|
-
with:
|
|
54
|
-
name: dist
|
|
55
|
-
path: dist
|
|
56
|
-
- uses: pypa/gh-action-pypi-publish@v1.5.0
|
|
57
|
-
with:
|
|
58
|
-
user: __token__
|
|
59
|
-
password: ${{ secrets.PYPI_API_TOKEN }}
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
- uses: actions/download-artifact@v3
|
|
63
|
-
with:
|
|
64
|
-
name: wheelhouse
|
|
65
|
-
path: wheelhouse
|
|
66
|
-
|
|
67
|
-
- name: Upload assets
|
|
68
|
-
id: upload_assets
|
|
69
|
-
uses: actions/upload-release-asset@v1
|
|
70
|
-
with:
|
|
71
|
-
upload_url: ${{ github.event.release.upload_url }}
|
|
72
|
-
asset_path: ./wheelhouse/*.whl
|
|
73
|
-
asset_name: ${{ env.UPLOAD_FILE_NAME }}
|
|
74
|
-
|
|
75
|
-
- name: Set file name for each asset
|
|
76
|
-
id: set_file_name
|
|
77
|
-
run: |
|
|
78
|
-
echo "::set-env name=UPLOAD_FILE_NAME::$(basename ${{ steps.upload_assets.outputs.asset_path }})"
|
|
79
|
-
|
|
80
|
-
- name: List uploaded assets
|
|
81
|
-
run: |
|
|
82
|
-
echo "Uploaded assets: ${{ steps.upload_assets.outputs.asset_path }}"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{panda-python-0.5.0 → panda-python-0.5.1}/include/controllers/joint_limits/virtual_wall_controller.h
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|