Skip to main content

A library that provides I/O processes for Lava such as DVS cameras and robotic actuators.

Project description

Lava Peripherals

Lava-peripherals is a library to the open-source framework Lava that adds support for peripheral devices such as cameras or robotic actuators. Lava enables users to develop neuro-inspired applications and map them to neuromorphic hardware. It provides tools and abstractions to develop applications that fully exploit the principles of neural computation.

Content

  • Dynamic Vision Cameras
    • Metavision
    • Inivation (coming soon)
  • Intel RealSense cameras
  • Robotic actuators (to be planned)

Dependencies

Lava-peripherals currently requires Linux and does not support Windows or MacOS.

Third-party dependencies

Lava-peripherals is flexible with the dependency on the libraries for the peripheral hardware and requires only those to be installed which are used.

PropheseeCamera

The PropheseeCamera Process, requires the metavision-sdk v4.0.0 or newer to be installed.

RealSense

The RealSense Process, requires the Intel® RealSense™ SDK v2.0 and the Python wrapper pyrealsense2 to be installed.

Python dependencies

Lava-peripherals requires Python version 3.9 or newer; for installation either pip or poetry is required.

Installation

Linux

cd $HOME
curl -sSL https://install.python-poetry.org | python3 -
git clone https://github.com/lava-nc/lava-peripherals.git
cd lava-peripherals
poetry config virtualenvs.in-project true
poetry install

# in order to find metavision-sdk
sed -i "s/include-system-site-packages\ =\ false/include-system-site-packages\ =\ true/g" .venv/pyvenv.cfg

source .venv/bin/activate
pytest

## See FAQ for more info: https://github.com/lava-nc/lava/wiki/Frequently-Asked-Questions-(FAQ)#install

More information

For more information visit http://lava-nc.org or the Lava-nc on GitHub. ​

Stay in touch

To receive regular updates on the latest developments and releases of the Lava Software Framework please subscribe to our newsletter.

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

lava_peripherals-0.1.0.tar.gz (2.0 MB view details)

Uploaded Source

Built Distribution

lava_peripherals-0.1.0-py3-none-any.whl (791.3 kB view details)

Uploaded Python 3

File details

Details for the file lava_peripherals-0.1.0.tar.gz.

File metadata

  • Download URL: lava_peripherals-0.1.0.tar.gz
  • Upload date:
  • Size: 2.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for lava_peripherals-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8dade8916d2c7916898632cdc3150010655b69abdbccc2f606f541b8a2f4d942
MD5 b9e1781e1160b5f646d25d33b9a5a04a
BLAKE2b-256 949df75938d712a54fa0a218b44182c9ae380cc87df8547ad9dee04ad399b996

See more details on using hashes here.

File details

Details for the file lava_peripherals-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for lava_peripherals-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 69291ff452a6040457dbd93d20b75a38e9616574c9b26b39ac45380c7033f4ef
MD5 2fbea9a5564e71ed654de68744fc33a5
BLAKE2b-256 b0663323732deca2a61cb47177929bcea50afcaac218798dad0a7bbae252a92b

See more details on using hashes here.

Supported by

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