Skip to main content

Module for connecting to cameras and hardware devices within the Telekinesis ecosystem.

Project description

GitHub  •  LinkedIn  •  X  •  Discord

Medulla: Hardware Communication Skills

Medulla is a module in the Telekinesis SDK for connecting to cameras and hardware devices. It provides tools to interface with various 2D and 3D cameras and integrate them into Telekinesis applications. It includes:

  • 2D and 3D camera interfacing
  • Data acquisition and preprocessing
  • Time-synchronized sensor streams
  • Integration with Telekinesis modules (Vitreous, Retina, Cornea, Pupil, Neuroplan)

This library is used for robotics applications that require camera connectivity, including vision pipelines, multi-camera robot perception, and Physical AI agent integration.

Medulla is currently in its early development phase (pre-1.0). There will be continuous minor version updates that may introduce new features and improvements. To ensure compatibility and have the latest features, please always install or upgrade to the latest version of the package.

Installation

  1. Create an isolated environment to avoid dependency conflicts. We recommend installing Miniconda by following the instructions from here.

  2. Create a new conda environment called telekinesis-medulla:

    conda create -n telekinesis-medulla python=3.11
    
  3. Activate the environment:

    conda activate telekinesis-medulla
    
  4. Install the package using pip:

    We currently support Python versions - 3.11, 3.12. Ensure your environment is in the specified Python version.

    pip install telekinesis-medulla
    

Additional Setup

Camera drivers and vendor SDKs require additional installation steps. Please follow the Installation details for vendor-specific SDK setup.

Dependencies

Medulla requires BabyROS. Please refer to the README in BabyROS to install it.

Example

Run a sample Python script to quickly test your installation.

  1. Create a Python file named medulla_example.py in a directory of your choice and paste the following:

    from medulla.cameras import webcam
    
    camera = webcam.Webcam(name="my_webcam", camera_id=0)
    camera.connect()
    image = camera.capture_single_color_frame()
    camera.disconnect()
    
  2. On a terminal, navigate to the directory where medulla_example.py was created and run:

    python medulla_example.py
    

Supported Cameras

Vendor Status
Webcam Available
IDS Available
ZIVID Coming Soon
SensoPart Coming Soon
MechMind Coming Soon
Azure Kinect Coming Soon
Intel RealSense Coming Soon

Development Setup

Clone the repository:

cd <your_directory>
git clone https://gitlab.com/telekinesis/medulla.git
cd medulla
git checkout develop

Install in editable mode (for development): Install in editable mode (for development):

pip install --editable .

To run the examples, install the optional dependencies:

To run the examples, install the optional dependencies:

pip install -e .[examples]

Resources

Support

For issues and questions:

Resources

Support

For issues and questions:

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_medulla-0.1.2.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

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

telekinesis_medulla-0.1.2-py3-none-any.whl (14.0 kB view details)

Uploaded Python 3

File details

Details for the file telekinesis_medulla-0.1.2.tar.gz.

File metadata

  • Download URL: telekinesis_medulla-0.1.2.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for telekinesis_medulla-0.1.2.tar.gz
Algorithm Hash digest
SHA256 cb76030d8b51f3e936dd2366ad698c6369dc69bfa23eade00dc45f2503b0957c
MD5 5c115701d3f9ab81450bf5dacb33c183
BLAKE2b-256 1b56bb723cec5b5a5be69c5de82bcfd7e75870be518bb4311eddc2cbdd464165

See more details on using hashes here.

File details

Details for the file telekinesis_medulla-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for telekinesis_medulla-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ffa1ddaca16d14c994f4ada4c95adbc78735c5a84658af90c41daddfd769c421
MD5 76a84b8a1d4bfc38b612ce764caa391a
BLAKE2b-256 be4f41de3f906733737e878bdee9944dba3a3eb0f6b513a88b0b57629c09d114

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