Skip to main content

Official core data types and serialization utilities package for the Telekinesis SDK and APIs.

Project description

Telekinesis Datatypes

Telekinesis Datatypes is a core library providing canonical, strongly typed data structures for robotics and computer vision within the Telekinesis ecosystem. It includes:

  • 3D data types: point clouds, meshes, transforms, and geometric primitives
  • 2D data types: images, bounding boxes, masks, and pixel-space geometry
  • Standardized representations for common perception and geometry formats
  • Efficient serialization and deserialization for reliable data exchange

This library is used internally by the Telekinesis SDK as the foundation for data exchange across perception, planning, and learning components.

Installation

You will need to have Python 3.11 or higher set up to use the Telekinesis Datatypes Package.

Run the following command to install the Telekinesis Datatypes Package.

pip install telekinesis-datatypes

Example

Run a python code to quickly test your installation:

import numpy as np
from datatypes import datatypes

# Create Rgba32 colors for R, G, B
red = datatypes.Rgba32([255, 0, 0, 255])
green = datatypes.Rgba32([0, 255, 0, 255])
blue = datatypes.Rgba32([0, 0, 255, 255])

print(f"Red color (packed uint32): {red.rgba}")
print(f"Green color (packed uint32): {green.rgba}")
print(f"Blue color (packed uint32): {blue.rgba}")

# Use __int__() to convert to integer
red_int = int(red)

print(f"Red as int: {red_int}")
print(f"Direct comparison: int(red) == red.rgba: {red_int == red.rgba}")

Expected output:

Red color (packed uint32): 4278190335
Green color (packed uint32): 16711935
Blue color (packed uint32): 65535
Red as int: 4278190335
Direct comparison: int(red) == red.rgba: True

Resources

Support

For issues and questions:

  • Create an issue in the GitHub repository.
  • Contact the Telekinesis development team.

GitHub  •  LinkedIn  •  X  •  Discord

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

telekinesis_datatypes-0.0.1rc4.tar.gz (30.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

telekinesis_datatypes-0.0.1rc4-py3-none-any.whl (29.8 kB view details)

Uploaded Python 3

File details

Details for the file telekinesis_datatypes-0.0.1rc4.tar.gz.

File metadata

  • Download URL: telekinesis_datatypes-0.0.1rc4.tar.gz
  • Upload date:
  • Size: 30.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for telekinesis_datatypes-0.0.1rc4.tar.gz
Algorithm Hash digest
SHA256 7b081e94f0a2a2f5b8812c134b0c9cd5f5fd10b0368472bf29fbbf220c80356d
MD5 3887eeee45ea055b580a797f0c7d6c3c
BLAKE2b-256 53204968d68da8790992b8f63e74fec6184157e67c99a18087557400f533dd0b

See more details on using hashes here.

File details

Details for the file telekinesis_datatypes-0.0.1rc4-py3-none-any.whl.

File metadata

File hashes

Hashes for telekinesis_datatypes-0.0.1rc4-py3-none-any.whl
Algorithm Hash digest
SHA256 0cf7b5988edf3091343a5c57b9e04b7e7ac65f984440c25c6070e136b8e67fe7
MD5 d886ea46789fa789d7a31e709244de5d
BLAKE2b-256 81cca9062c302d9845eede6cfd70c34f718486676e6d1d16f676ae879d261645

See more details on using hashes here.

Supported by

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