GithubHelp home page GithubHelp logo

andreh7 / robertalab-usbprogram-nxt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openroberta/robertalab-usbprogram-nxt

0.0 1.0 0.0 156.21 MB

USB connection for NXT

License: Apache License 2.0

Java 84.61% C 9.53% Shell 2.50% Batchfile 0.48% JavaScript 1.90% HTML 0.98%

robertalab-usbprogram-nxt's Introduction

robertalab-usbprogram

Standalone program for connecting the robot hardware to Open Roberta lab using a usb connection.

Fast installation with maven

Clone the repository and compile

git clone git://github.com/OpenRoberta/robertalab-usbprogram.git
cd robertalab-usbprogram/OpenRobertaUSB
mvn clean install

Run USB program

For running the USB program use 32bit Java.

java -jar -Dfile.encoding=utf-8 ./OpenRobertaUSB/target/OpenRobertaUSB-*-SNAPSHOT.jar

Linux and NXT

For using the NXT install the following libraries

sudo apt-get install libc6-i386 libxext6:i386 libxrender1:i386 libXtst6:i386 libXi6:i386 libusb-0.1-4:i386

Create /etc/udev/rules.d/70-lego.rules file and add the following lines:

# Lego NXT brick in normal mode
SUBSYSTEM=="usb", DRIVER=="usb", ATTRS{idVendor}=="0694", ATTRS{idProduct}=="0002", GROUP="lego", MODE="0660"
# Lego NXT brick in firmware update mode (Atmel SAM-BA mode)
SUBSYSTEM=="usb", DRIVER=="usb", ATTRS{idVendor}=="03eb", ATTRS{idProduct}=="6124", GROUP="lego", MODE="0660"

The rules relay on the lego user group. Crate a lego group and add the current user to the group:

sudo groupadd lego
sudo gpasswd -a <username> lego
sudo udevadm control --reload-rules

Development notes

You can follow the test status on https://travis-ci.org/OpenRoberta/.

Development happens in the 'develop# branch. Please sent PRs against that branch.

git clone git://github.com/OpenRoberta/robertalab-usbprogram.git
cd robertalab-usbprogram
git checkout -b develop origin/develop

robertalab-usbprogram-nxt's People

Contributors

bagridag avatar bjost2s avatar boonto avatar cvejoski avatar dpyka avatar elhele avatar ensonic avatar theopenbit 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.