libjdrones
A fast quadcopter support library written in C++ for jdrones.
Installation
If you're simply looking for python, run pip install libjdrones.
Else, to install the C++ library run
git clone https://github.com/iwishiwasaneagle/libjdrones
cd libjdrones
cmake \
-B build
-DCMAKE_BUILD_TYPE=Release \
.
cmake \
--build build \
--target install
With conda, be sure to add -DCMAKE_INSTALL_PREFIX=${CONDA_PREFIX} -DCMAKE_PREFIX_PATH=${CONDA_PREFIX} to ensure that
it is correctly installed in the env.
Dependencies
Eigen3
Please see the official documentation.
pybind
The minimum version of pybind11 depends on the version of python. It is advised to either install from source or
using pip (pip install "pybind11[global]>=2.11.0").
WARNING: Ubuntu 22.04 only ships with pybind11@v2.9.1.
| Python | pybind11-dev |
|---|---|
| 3.10 | 2.9.0 |
| 3.11 | 2.10.0 |
| 3.12 | 2.11.0 |
google benchmark
Please see the [official documentation](https://github.com/google/benchmark/tree/v1.8.5)
Run tests
Catch2>=v3.4.0 is required (see CI.yml)
cmake -B build \
-DJDRONES_ENABLE_UNIT_TESTING=ON \
-DCMAKE_BUILD_TYPE=Debug
cmake --build build -j $(nproc)
ctest --test-dir build
With coverage
Add -DJDRONES_ENABLE_CODE_COVERAGE=ON to the initial cmake call.
lcov --capture --directory build --output-file coverage.info
lcov --remove coverage.info --output-file coverage.info '/usr/*' '*/test/*' '*/extern/*' '*/geos/*'
genhtml coverage.info -o build/html
firefox build/html/index.html
Release files for libjdrones 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| libjdrones-0.1.1-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | PyPy 3.10 | PyPy 3.10 7.3 | Linux glibc 2.17+ x86-64 | Details |
| libjdrones-0.1.1-cp312-cp312-musllinux_1_1_x86_64.whl | CPython 3.12 | CPython 3.12 | Linux musl 1.1+ x86-64 | Details |
| libjdrones-0.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.12 | CPython 3.12 | Linux glibc 2.17+ x86-64 | Details |
| libjdrones-0.1.1-cp311-cp311-musllinux_1_1_x86_64.whl | CPython 3.11 | CPython 3.11 | Linux musl 1.1+ x86-64 | Details |
| libjdrones-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.11 | CPython 3.11 | Linux glibc 2.17+ x86-64 | Details |
| libjdrones-0.1.1-cp310-cp310-musllinux_1_1_x86_64.whl | CPython 3.10 | CPython 3.10 | Linux musl 1.1+ x86-64 | Details |
| libjdrones-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.10 | CPython 3.10 | Linux glibc 2.17+ x86-64 | Details |
Total release size: 4.1 MB
Release files / libjdrones-0.1.1-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | libjdrones-0.1.1-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 360.8 kB |
| Tags | Linux glibc 2.17+ x86-64 PyPy 3.10 PyPy 3.10 7.3 |
|
SHA-256 checksum How to use checksums |
19ae5bf5736d13666304e4a87f854a236ca15a682e424edc89c66cdb508fbb45
|
|
BLAKE2b-256 checksum How to use checksums |
fd1937db4006a3ba8c2e6f496206beb9ec4b9d4f949345060ec3470928e76f22
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / libjdrones-0.1.1-cp312-cp312-musllinux_1_1_x86_64.whl
| Download URL | libjdrones-0.1.1-cp312-cp312-musllinux_1_1_x86_64.whl |
|---|---|
| Size | 887.6 kB |
| Tags | CPython 3.12 Linux musl 1.1+ x86-64 |
|
SHA-256 checksum How to use checksums |
efcb2c60d75ff72adf3367c9387c67bc0e01221c0b96a3a45d03a3bb42a9b90d
|
|
BLAKE2b-256 checksum How to use checksums |
57b8a3505138536cf1c37398306a2fbc5a691d5d3b2af8dc4f16e2406e67bd1f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / libjdrones-0.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | libjdrones-0.1.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 367.2 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
c4661d8171b1db039d982c903b1b1e5c32e686c5fa57bc7556001752a2ccb041
|
|
BLAKE2b-256 checksum How to use checksums |
14daf77ab74f63a175034745be1de6b9ec38e10db328ffd539ee41af9c6864ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / libjdrones-0.1.1-cp311-cp311-musllinux_1_1_x86_64.whl
| Download URL | libjdrones-0.1.1-cp311-cp311-musllinux_1_1_x86_64.whl |
|---|---|
| Size | 890.2 kB |
| Tags | CPython 3.11 Linux musl 1.1+ x86-64 |
|
SHA-256 checksum How to use checksums |
346caecdbbd527ac1567203a86b898376f01fb541d857513c5331b694c981445
|
|
BLAKE2b-256 checksum How to use checksums |
22083316c4e429d501a37f3bd5798651122423de142f3a7adc7d8697e74d7d2c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / libjdrones-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | libjdrones-0.1.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 366.9 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
8d8e1f027c4a94b81b5b7e38c05aed08107c6d98fdc0e91f53cb90c43cb137db
|
|
BLAKE2b-256 checksum How to use checksums |
c5d075baaa4fca6a373173c973f3f43e386c7ad12cd52c32c938f032e91a38de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / libjdrones-0.1.1-cp310-cp310-musllinux_1_1_x86_64.whl
| Download URL | libjdrones-0.1.1-cp310-cp310-musllinux_1_1_x86_64.whl |
|---|---|
| Size | 888.6 kB |
| Tags | CPython 3.10 Linux musl 1.1+ x86-64 |
|
SHA-256 checksum How to use checksums |
13a25611b468a1607557465f5c2ffbb9a1409c337140c7d22a44e5bd517cf3e3
|
|
BLAKE2b-256 checksum How to use checksums |
6fefe7dcad99f2058e326f1fbd6d37ba2f199ee80f8e6470b218afa9379bbd41
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / libjdrones-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | libjdrones-0.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 365.7 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
a9c21b78be496e9ae0d222b56ae53cac9542cdf7cedb91f1556850ea6ca82ae8
|
|
BLAKE2b-256 checksum How to use checksums |
2522f4c71726717ab1ed4fa569859d0c00b6161de8fee89727fd37d2e3f8655f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|