Coder Social home page Coder Social logo

ev3-1's Introduction

Ev3: Lego Robotics in Elixir

THIS REPO IS NOW OBSOLETE

Goto https://github.com/StarlitSoftware/marvin/tree/develop for the latest

Licensing

You can do whatever you want.

Objectives

The goals of this project are:

  • Give Elixir coders access to the EV3 via EV3DEV -- DONE --
  • Implement a function domain language for interacting with the EV3 brick --DONE --
  • Take full advantage of processes and OTP to implement a "society of mind" model, with perception, motivation, behavior and actuation. --DONE--
  • Implement a robot control panel in Elm and Phoenix. --DONE--
  • Get two robots to interact and even cooperate. --TBD--
  • Having fun! -- so far so good --

This project was inspired by Torben Hoffmann. Thanks Torben!

Prerequisites

  • You will need a Lego Mindstorms EV3 kit
  • A micro-SD card with EV3Dev on it
  • Some way to communicate with the EV3 brick (Bluetooth or WiFi - WiFi works on Linux)
  • Erlang and Elixir installed on both you computer and the EV3

Go to my blog for further instructions, pointers and examples.

Development

I use the following shell script to quickly upload and install code on the EV3 brick:

On my computer's .bashrc file:

alias deploy-ev3='pushd /projects/ev3; mix compile; node_modules/brunch/bin/brunch build; pushd /projects; tar -cf ev3.tar --exclude=".git" --exclude=".*" --exclude=".gitignore" ev3; scp ev3.tar [email protected]:/ev3.tar; popd; popd'

On the EV3 brick, in my .bashrc file:

alias install-ev3='pushd ~;rm -r ev3;tar -xvf ev3.tar;popd'

You will need to modify them to fit your own context.

ev3-1's People

Contributors

jfcloutier avatar

Watchers

 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.