Giter Site home page Giter Site logo

crazyflie-link-rs's Introduction

Crazyflie link implementation for rust

This repos contains an experimental implementation of the Crazyflie radio link in Rust as well as a python binding for it.

It allows to scan for Crazyflies and to open a safe bidirectional radio connection using a Crazyradio.

Look at and run the examples to understand the current state of the link. Implementation is still in progress.

The link is implemented in Rust Async functions, this means that an async executor needs to be used. async-std is used in the examples and by the python binding. async_executors is used to make the lib independent of specific executors, any executors handles by async_executors is supported, this includes tokio and wasm_bindgen_futures.

Working with the python binding

The python binding uses PyO3 and Maturin. You can test it in a venv:

# From within a venv, . ./venv/bin/activate ...
$ cd python-binding
$ maturin develop
$ python
>>> import cflinkrs
>>> context = cflinkrs.LinkContext()
>>> context.scan()
['radio://0/60/2M/E7E7E7E7E7']
>>>

crazyflie-link-rs's People

Contributors

ataffanel avatar jonasdn avatar

Stargazers

Christian Legnitto avatar Michał Datberg avatar  avatar

Watchers

James Cloos avatar  avatar

Forkers

jonasdn evoggy

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.