GithubHelp home page GithubHelp logo

vb6hobbyst7 / ev3devkit Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ev3dev/ev3devkit

0.0 2.0 0.0 3.84 MB

programming toolkit for ev3dev

Home Page: http://www.ev3dev.org

CMake 3.83% Vala 95.49% Shell 0.50% Dockerfile 0.17%

ev3devkit's Introduction

ev3devKit

Programming toolkit for ev3dev

About

This is a GLib/GObject based library that provides a number of programming interfaces for ev3dev, including user interface and device driver interface. It is written in vala, but since it uses GObjects, it can be used with many languages via GObjectIntrospection.

For an example of how it is used, checkout brickman.

Status

This is currently in the development stages and is unstable.

Get the code

This project uses git and git submodules.

git clone --recursive git://github.com/ev3dev/ev3devKit

Cross-compiling for the EV3

This requires that you have Docker installed. (On Linux, you will also need to install the qemu-user-static package.)

cd ev3devKit
./docker/setup.sh $ARCH
docker exec --tty ev3devkit_$ARCH make install

Substitute $ARCH with armel for the EV3 or armhf for RPi/BeagleBone. When the build is completed, copy the files from build-$ARCH/dist to your EV3.

Compiling for desktop

# include install build depends
$ sudo apt-get install cmake valac libgirepository1.0-dev \
libgudev-1.0-dev libgrx-3.0-dev libgtk-3-dev
$ cmake -P setup.cmake
$ make -C build

Running

When building for the desktop, one can run the demos using make -C build run<tab>. In order to run them on the device, copy the demos over or share the folder via NFS or sshfs with the EV3. When copying them to /home/user, the demos are runable from the file-browser.

Documentation

API docs are at http://docs.ev3dev.org/projects/ev3devkit/en/ev3dev-bullseye/

ev3devkit's People

Contributors

dlech avatar wasabifan avatar ensonic avatar pepijndevos avatar

Watchers

James Cloos avatar  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.