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

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.1rc2.tar.gz (28.4 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.1rc2-py3-none-any.whl (28.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: telekinesis_datatypes-0.0.1rc2.tar.gz
  • Upload date:
  • Size: 28.4 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.1rc2.tar.gz
Algorithm Hash digest
SHA256 0b38425fa3b697512d84b12cc669d6b902a3bd2dad4bafc1f67e09a151720b37
MD5 fafc17a9a1584206f46a0353e4c58300
BLAKE2b-256 21475aa184a595a5722c01713d958484550b4a0ae187bb6d2f48b3dbf45e3409

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for telekinesis_datatypes-0.0.1rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 ca7557cc9427863a2acd84da104c43534884a5f15b42d9c362e814b72200a94e
MD5 f40e4e9108cc82cb4c0db602254de2e9
BLAKE2b-256 6d15c20e0e865e8c590b35adf7cecd64234f4d248272c0151687a83ac95d3213

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