Skip to main content

Student Robotics API for Python 3

Reason this release was yanked:

poetry published this as sr-robot3

Project description

sr.robot3

Tests PyPI version MIT license Bees

Student Robotics API for Python 3

This package uses PEP420-style namespace packaging.

Development

Requirements

This project uses the Poetry dependency and virtualenv manager.

You will also need:

  • Python 3.6+
  • Make

Setup

  • Clone the repository from GitHub to a folder on your local machine
  • cd to that folder, and tell Poetry to install dependencies and set up a virtualenv poetry install
  • You can now enter the virtual environment using poetry shell and develop using your IDE of choice.

Tests

The full type, test and lint suite can be run using make: make.

You can also run parts of the suite.

  • Unit tests: make test
  • Unit tests with HTML coverage: make test-cov
  • Linting: make lint
  • Static type checks: make type

Adding camera calibrations

You will need to print off a chAruco marker grid.

opencv_interactive-calibration -t=charuco -sz=GRID_SIZE

Replace GRID_SIZE with the length of one of the larger squares (in mm) from the printed marker grid.

Use -ci=1 for specifying camera index if multiple cameras are connected.

Point the camera at the marker grid. Until DF is at or below 30 then press S to save. This will output a cameraParameters.xml file. Place this file in sr/robot3/vision/calibrations named by the camera model.

You will need to add a detection strategy for the camera in to sr/robot3/vision/backend.py.

Contributions

This project is released under the MIT Licence. For more information, please see LICENSE.

The CONTRIBUTORS file can be generated by executing CONTRIBUTORS.gen. This generated file contains a list of people who have contributed to sr.robot3.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sr_robot3-2023.0.0.tar.gz (15.6 kB view details)

Uploaded Source

Built Distributions

sr_robot3-2023.0.0-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

sr.robot3-2023.0.0-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

File details

Details for the file sr_robot3-2023.0.0.tar.gz.

File metadata

  • Download URL: sr_robot3-2023.0.0.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.6 Darwin/21.6.0

File hashes

Hashes for sr_robot3-2023.0.0.tar.gz
Algorithm Hash digest
SHA256 b4e22ee690aa283ee21a63e9af4ddc66f6e75fe7e50bf2d8e25b0636ad835aa5
MD5 f24e9e2e6677ecf15f9b8b7ec6b2b4ab
BLAKE2b-256 31611c3f70f408cbb5af8fa22e6aab4e7ed1435016532dd4d2fcd0204234bd2c

See more details on using hashes here.

File details

Details for the file sr_robot3-2023.0.0-py3-none-any.whl.

File metadata

  • Download URL: sr_robot3-2023.0.0-py3-none-any.whl
  • Upload date:
  • Size: 20.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.10.6 Darwin/21.6.0

File hashes

Hashes for sr_robot3-2023.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f4779a8210dae54b260e82bdb97451e87c75658109051ae50c56f93b87c0fec0
MD5 4d297777d7b96bee4c68f5584c4a6846
BLAKE2b-256 9c8a1f55e40303ce730a6daa5a90c63998dee9b96626159fd2bdb437c54ab7b8

See more details on using hashes here.

File details

Details for the file sr.robot3-2023.0.0-py3-none-any.whl.

File metadata

  • Download URL: sr.robot3-2023.0.0-py3-none-any.whl
  • Upload date:
  • Size: 20.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.15 CPython/3.10.6 Darwin/21.6.0

File hashes

Hashes for sr.robot3-2023.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f50e081cafb21ead4cfb30a1344fcbc267d4fc8254bf697fae0b980047a1ff59
MD5 6e2ffef9b6d4dbc3c8546317290a0f25
BLAKE2b-256 2dac16b108e488b6015cedf924ed244df68ad6991cd1d0ababd1a22abfc3ca0d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page