Installation Instructions on MAC - Space-Bangalore/LegoSpaceRovers GitHub Wiki

Steps to Install the application on MAC

Tested: Pending


This application requires the following softwares listed below

Python:

$ sudo apt-get install python

Setuptools for python

$ sudo apt-get install setuptools-python

WebSocket-for-Python:

  • It is a Python library providing an implementation of the WebSocket protocol defined in [RFC 6455]

$ easy_install ws4py

PyBluez:

  • These are Python based wrappers around system Bluetooth resources.

$ sudo apt-get install python-bluetooth

NXT-Python:

  • This is a package for controlling a LEGO NXT robot using the Python programming language.

$ easy_install -U NXT-Python

Meteor:

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

Lego Space Explorers Application:

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

Open a terminal in LegoSpaceExplorers folder and execute following commands

$ cd meteor

$ meteor

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

Open another terminal in LegoSpaceExplorers folder and execute following commands

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

Open a browser

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