GithubHelp home page GithubHelp logo

matths / drive-sdk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tkuyucu-nordicsemi/drive-sdk

1.0 1.0 0.0 314 KB

Anki Drive SDK

License: Apache License 2.0

CMake 9.14% C 80.07% C++ 10.55% Ruby 0.23%

drive-sdk's Introduction

Anki Drive SDK

The Anki Drive SDK is a C implementation of the message protocols and data parsing routines necessary for communicating with Anki Drive vehicles.

The Anki Drive SDK is licensed under the Apache 2.0 license. Projects in the examples folder are released under separate licenses.

Features

The initial release of the SDK has the minimal number of functions required to use the message protocol and parse information sent by vehicles.

  • Parse vehicle info from Bluetooth LE LOCAL_NAME and MANUFACTURER_DATA advertisement data.
  • Create messages to send commands to vehicles.
  • Parse vehicle response messages.

The initial version provides a limited subset of the message protocol. We hope to expand available messages and functionality in the future, once we can do so in a safe and stable way.

Optional dependencies

  • BlueZ for example linux utilities. See examples folder.

Building the SDK

The Anki Drive SDK builds cleanly on Mac OS X and most linux distributions. The SDK builds the libankidrive library, with public headers available in include.

The SDK is built using CMake 2.8 (http://www.cmake.org) on all platforms.

 $ mkdir -p build && cd build

 # build library
 $ cmake ..
 $ make

 # build library + examples
 # set path to compiled bluez source
 $ export BLUEZ_ROOT=/path/to/bluez
 $ cmake .. -DBUILD_EXAMPLES=ON
 $ make

Run Unit Tests

 $ cd build
 $ ./test/Test

drive-sdk's People

Contributors

chapados avatar

Stargazers

Roman avatar

Watchers

James Cloos avatar

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.