-
Notifications
You must be signed in to change notification settings - Fork 1
Installation Instructions on Windows
This application requires the following softwares listed below
Python: Download and install Python 2.7.x
- Windows x86 MSI Installer http://www.python.org/download/releases/2.7.4/
Download setuptools for python2.7
- Install manually using MSI installer https://pypi.python.org/pypi/setuptools/
WebSocket-for-Python:
-
It is a Python library providing an implementation of the WebSocket protocol defined in [RFC 6455] Documentation: https://ws4py.readthedocs.org/en/latest/sources/install/
-
Option 1: Install ws4py using easy_install Example: > c:\python27\scripts\easy_install.exe ws4py
-
Option 2: Download ws4py from https://github.com/Lawouach/WebSocket-for-Python/archive/master.zip On command prompt in the unzipped directory execute
c:\python27\python.exe setup.py install
PyBluez: It is Python wrappers around system Bluetooth resources. Download pybluez for python2.7 build from http://code.google.com/p/pybluez/downloads/list
- If not available: Install "PyBluez-0.19.beta.win32-py2.7.exe" manually. Available at https://pybluez.googlecode.com/issues/attachment?aid=430006000&name=PyBluez-0.19.beta.win32-py2.7.exe&token=t8ZoiSrkaXozNayl9maFCANXjwQ%3A1366715965990 This is a beta build done from the trunk sources of pybluez, to help those without visual studio. (Read https://code.google.com/p/pybluez/issues/detail?id=43)
NXT-Python: This is a package for controlling a LEGO NXT robot using the Python programming language. Download the latest NXT-Python zipfile (Tested with Version: 2.2.2) https://code.google.com/p/nxt-python/downloads/list
- Untar source package
- In package directory,
c:\python27\python.exe setup.py install
Meteor Framework: Download Meteor on Windows from http://win.meteor.com/
- Though unofficial Meteor for Windows support has been discontinued, official support has been announced.
- We have tested with the latest version 0.5.9
Please Note:
- Restart your computer for environment changes to take effect after performing the above steps. (Required for Meteor)
Lego Space Explorers Application: Github https://github.com/Space-Bangalore/LegoSpaceRovers Zip file available at https://github.com/Space-Bangalore/LegoSpaceRovers/archive/master.zip
- Download our application and Extract the zip file
Running the webapp
- open a command prompt in extracted folder and execute following commands
cd meteor meteor
- Note on Windows Firewall Alert: Please allow Javascript to interact/update continuously
Add a bluetooth connection with your Lego NXT Brick on your computer.
Running the
- open another command prompt
c:\python27\python.exe 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!