Skip to content

Installation Instructions on Ubuntu

pd2 edited this page Apr 30, 2013 · 4 revisions

Steps to install the application on Ubuntu

Applicable to: All Ubuntu versions higher than or same as version 11.04 (Natty Narwhal)

Tested on: Ubuntu 12.04 (Precise Pangolin)


This application requires the following softwares:

$ sudo apt-get install python-setuptools

  • NXT_Python (version 2.2.2)

$ sudo apt-get install python-nxt

  • WebSocket-for-Python (ws4py)

$ sudo easy_install ws4py

  • Meteor (version 0.6.2)

$ sudo apt-get install curl

$ curl https://install.meteor.com | /bin/sh

If you encounter alert handshake error, then please perform the following command before retrying

$ sudo apt-get install libssl-dev

  • Application software

$ sudo apt-get install git

$ git clone https://github.com/Space-Bangalore/LegoSpaceRovers.git

  • open a terminal

$ cd LegoSpaceRovers

$ cd meteor

$ meteor

Add a bluetooth connection with your Lego NXT Brick on your computer

  • open another terminal

$ python ddp-lego-driver.py localhost:3000

  • Open a browser

Goto http://localhost:3000/

Now you can control your LEGO NXT Brick remotely from any computer or mobile device. Enjoy!

PS: Installation instructions for Ubuntu 10.04 is given separately.