-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #58 from srobo/april-vision
April vision update
- Loading branch information
Showing
7 changed files
with
54 additions
and
42 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
17 changes: 0 additions & 17 deletions
17
sources/meta-srobo/recipes-robot/python-j5-zoloto/python3-j5-zoloto_0.5.0.bb
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
14 changes: 14 additions & 0 deletions
14
sources/meta-srobo/recipes-robot/python3-april-vision/python3-april-vision_1.0.0.bb
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,14 @@ | ||
SUMMARY = "An AprilTag marker detection library" | ||
DESCRIPTION = "An AprilTag marker detection library" | ||
HOMEPAGE = "https://github.com/WillB97/april_vision" | ||
LICENSE = "MIT" | ||
LIC_FILES_CHKSUM = "file://LICENSE;md5=166254bc339a21e92d852d180a9063cc" | ||
|
||
SRC_URI[sha256sum] = "ca1af02526c516650a37a12b08dc18b476e829fe54ad8d690473b029972f1af3" | ||
|
||
PYPI_PACKAGE = "april_vision" | ||
inherit pypi setuptools3 | ||
|
||
RDEPENDS:${PN} = "${PYTHON_PN}-pyapriltags ${PYTHON_PN}-pyquaternion ${PYTHON_PN}-numpy opencv" | ||
|
||
BBCLASSEXTEND = "native nativesdk" |
32 changes: 32 additions & 0 deletions
32
sources/meta-srobo/recipes-robot/python3-pyapriltags/python3-pyapriltags_3.3.0.post2.bb
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,32 @@ | ||
SUMMARY = "Python bindings for the Apriltags library" | ||
DESCRIPTION = "Python bindings for the Apriltags library" | ||
HOMEPAGE = "https://github.com/WillB97/pyapriltags" | ||
LICENSE = "MIT" | ||
LIC_FILES_CHKSUM = "file:///${S}/pyapriltags-${PV}.dist-info/LICENSE.md;md5=859bf09146db781f61937e279299e0b2" | ||
|
||
BBCLASSEXTEND = "native nativesdk" | ||
|
||
SRC_URI = " \ | ||
https://files.pythonhosted.org/packages/ee/2b/9386f775396c370f7881ba2c91769d845160e66f5a1720170b39da546227/pyapriltags-3.3.0.post2-py3-none-manylinux2014_aarch64.whl;downloadfilename=pyapriltags-${PV}-py3-none-manylinux2014_aarch64.zip;subdir=${BP} \ | ||
" | ||
SRC_URI[sha256sum] = "8ae61edead3f14edb5658b061a510c48986a0c86994a9859d168a8005f0d6246" | ||
|
||
inherit python3-dir | ||
|
||
do_unpack[depends] += "unzip-native:do_populate_sysroot" | ||
|
||
DEPENDS += "python3" | ||
RDEPENDS:${PN} = "${PYTHON_PN}-numpy" | ||
|
||
FILES:${PN} += "\ | ||
${libdir}/${PYTHON_DIR}/site-packages/pyapriltags \ | ||
${libdir}/${PYTHON_DIR}/site-packages/pyapriltags-${PV}.dist-info \ | ||
" | ||
|
||
do_install() { | ||
install -d ${D}${libdir}/${PYTHON_DIR}/site-packages/pyapriltags | ||
install -d ${D}${libdir}/${PYTHON_DIR}/site-packages/pyapriltags-${PV}.dist-info | ||
|
||
cp -R --no-dereference --preserve=mode,links -v ${S}/pyapriltags/* ${D}${libdir}/${PYTHON_DIR}/site-packages/pyapriltags | ||
install -m 644 ${S}/pyapriltags-${PV}.dist-info/* ${D}${libdir}/${PYTHON_DIR}/site-packages/pyapriltags-${PV}.dist-info/ | ||
} |
17 changes: 0 additions & 17 deletions
17
sources/meta-srobo/recipes-robot/python3-zoloto/python3-zoloto_0.10.0+srobo.bb
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