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
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
-
Examples
Runnable usage examples for Telekinesis Datatypes: Telekinesis Examples (see examples/datatypes_examples.py) -
Documentation
Full API reference and datatype descriptions: Datatypes DocumentationComplete documentation: Telekinesis Docs
Support
For issues and questions:
- Create an issue in the GitHub repository.
- Contact the Telekinesis development team.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file telekinesis_datatypes-0.0.1rc3.tar.gz.
File metadata
- Download URL: telekinesis_datatypes-0.0.1rc3.tar.gz
- Upload date:
- Size: 27.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e11a37d27f4797cb649d9e229fb1e846bd67199498f283805cb8db85c5085c46
|
|
| MD5 |
a706eff011453aaba1451a01f7306690
|
|
| BLAKE2b-256 |
6bc0f19b6ac9a35f7ea68382ed0fdd17be5346774d821269d24c6397bbc92839
|
File details
Details for the file telekinesis_datatypes-0.0.1rc3-py3-none-any.whl.
File metadata
- Download URL: telekinesis_datatypes-0.0.1rc3-py3-none-any.whl
- Upload date:
- Size: 27.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cd4ee9c7e00e4bbb10c18207eb654ba36a33e11d513371facffd5bb7e02d16e5
|
|
| MD5 |
306fc68c21a45b25877e31df9b85d976
|
|
| BLAKE2b-256 |
9542a90a425063eec6a87a7630d6bcd100dcd4f1a2887e6c554ac3204eb115b6
|