Skip to main content

ARCOR2 Calibration

Project description

ARCOR2 Calibration service

Example configuration

id: Arbitrary text
marker_size: 0.1
markers:
  10:
    pose:
      position:
        x: 0
        y: 0
        z: 0
      orientation:
        x: 0
        y: 0
        z: 0
        w: 1

Environment variables

  • ARCOR2_CALIBRATION_URL=http://0.0.0.0:5014 - by default, the service listens on port 5014.
  • ARCOR2_CALIBRATION_DEBUG=1 - switches logger to the DEBUG level.
  • ARCOR2_CALIBRATION_MOCK=1 - the service will start in a mock (simulator) mode.
  • ARCOR2_REST_API_DEBUG=1 - turns on Flask debugging (logs each endpoint call).

Changelog

The format is based on Keep a Changelog,

[0.7.0] - 2021-10-25

Changed

  • New environment variables:
    • ARCOR2_CALIBRATION_DEBUG to turn on debugging.
    • ARCOR2_CALIBRATION_MOCK to start in mock mode.

[0.6.1] - 2021-07-29

Fixed

  • Handle invalid input parameters (camera matrix).
  • Scale down images to a common resolution before computing blur score.

[0.6.0] - 2021-06-11

Changed

  • Improved quality estimation (take orientation into account).
  • Reject blurry images.

[0.5.0] - 2021-05-21

Changed

  • PUT /calibrate/camera now returns EstimatedPose (pose + quality).

Fixed

  • Command line arguments fixed.
    • It is mandatory to provide -c (path to a configuration file) or one of -s (prints OpenAPI) or -m (start as mock).

[0.4.0] - 2021-04-26

Changed

  • The service now requires YAML configuration file where placement of markers is specified.
  • There might be 1-n markers in an arbitrary pose.
  • At least one of the configured markers should be visible.
  • Un-configured markers are ignored.
  • Estimated poses of the camera from multiple detected markers are so far simply averaged.
  • The average is weighted according to the camera-marker distance.

[0.3.0] - 2021-03-30

Changed

  • PUT /calibrate/camera now has inverse parameter.

[0.2.0] - 2021-02-08

Changed

  • Part of the code refactored into arcor2/flask.py.
  • API for getting pixel coordinates of markers corners.
    • Approx. three times faster than camera calibration.

[0.1.1] - 2020-12-14

Changed

  • Bump version to allow reupload to pypi

[0.1.0] - 2020-12-14

Changed

  • Initial release of the package.
  • Support for camera calibration.
  • Support for robot calibration.
    • URDF model of the robot needed.
    • Requires depth camera (e.g. Kinect).
  • --mock argument to start the service in a simulation mode.

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

arcor2_calibration-0.7.0.tar.gz (12.0 kB view details)

Uploaded Source

Built Distribution

arcor2_calibration-0.7.0-py38-none-any.whl (12.7 kB view details)

Uploaded Python 3.8

File details

Details for the file arcor2_calibration-0.7.0.tar.gz.

File metadata

  • Download URL: arcor2_calibration-0.7.0.tar.gz
  • Upload date:
  • Size: 12.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.10

File hashes

Hashes for arcor2_calibration-0.7.0.tar.gz
Algorithm Hash digest
SHA256 8e6a09e8353902bc5bd847eda699d2889f7b3dec383b85345083a2abfc918293
MD5 9a98e5c69b8df0b9281c585f1eed9416
BLAKE2b-256 7d966f5efbdc67a16ade570c627299e4cd9f0be6fd3d1413f7f6c298f76e2c29

See more details on using hashes here.

File details

Details for the file arcor2_calibration-0.7.0-py38-none-any.whl.

File metadata

  • Download URL: arcor2_calibration-0.7.0-py38-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.10

File hashes

Hashes for arcor2_calibration-0.7.0-py38-none-any.whl
Algorithm Hash digest
SHA256 28f5fd6cf8cd73c382c2103a5ded3f9c4a2b747b5bcac156f11ebe94c5d77ad2
MD5 a3a5a0161154ca30f07671559b39e022
BLAKE2b-256 a65e38e1eaa56abfea16b99160a0af9829a3f8318b7714ca3d70da41cfae547d

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