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

Minimal Usage Example

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

You can find all the information on Telekinesis SDK and the usage on Telekinesis Documentation.

We provide a large set of examples to help you learn all the available skills in the SDK. Explore other example scripts demonstrating Telekinesis SDK usage on our GitHub repositories - https://github.com/telekinesis-ai/telekinesis-examples.git.

To access the sample data visit our https://github.com/telekinesis-ai/telekinesis-data.

Support

For issues and questions:

  • Create an issue in the GitHub repository Telekinesis Examples.
  • 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.1rc1.tar.gz (28.0 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.1rc1-py3-none-any.whl (27.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: telekinesis_datatypes-0.0.1rc1.tar.gz
  • Upload date:
  • Size: 28.0 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.1rc1.tar.gz
Algorithm Hash digest
SHA256 10c0ca8b774a627240bb9743186966dcba3d9b23255dcc8805934ba10dc491d0
MD5 a57ce86cae629df0578c3759eac2669a
BLAKE2b-256 222b367ced18d4beb9eb00e59c6c101498e4903bd8a8a33fafc762e7eb064557

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for telekinesis_datatypes-0.0.1rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 848e345e9b4f3bc4cc1125c21a8a62233697afc85b8e48af220e1ab2de5621af
MD5 49e39a830b31b5a09a579629ab790fe9
BLAKE2b-256 1734803c3387bc47e88ea221371eb1a170bc5a876998bda848010b78601f0f4c

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