[NLUUG]   Welcome to ftp.nluug.nl
Current directory: /os/Linux/distr/salix/sbo/14.1/python/nxt-python/
 
Current bandwidth utilization 1305.69 Mbit/s
Bandwidth utilization bar
Contents of README:
nxt-python is a python 2.x driver/interface for the Lego Mindstorms NXT robot.

Setup
------

In order to use nxt-python with an NXT kit, you should add a 'lego' group to your system, and add yourself to that group:

# groupadd lego
# usermod -a -G lego YourUserName

You will also want to set up a udev rule to identify NXT hardware and grant the 'lego' group permission to use it. 

A sample rule is included for you in /usr/share/nxt-python, but you may want to verify the vendor code of the NXT unit. 

To verify the vendor code, connect the NXT hardware to your computer and then run:

lsusb

Look at the ID for the Lego device; it will probably be 0694, but if not, then change the value in the sample udev rule to match. 

Save the sample udev rule (70-lego.rules) to /etc/udev/rules.d/

Log out and log back in, and you should now have full control, via Python, over your NXT hardware.

Requires at least one of these
-------------------------------
pyusb (for USB communication)
pybluez (for bluetooth communication)

Icon  Name                                   Last modified      Size  
[DIR] Parent Directory - [   ] 70-lego.rules 20-Dec-2014 01:22 68 [TXT] README 20-Dec-2014 01:22 1.0K [TXT] nxt-python.SlackBuild 20-Dec-2014 01:22 1.8K [   ] nxt-python.info 20-Dec-2014 01:22 298 [TXT] slack-desc 20-Dec-2014 01:22 783

NLUUG - Open Systems. Open Standards
Become a member and get discounts on conferences and more, see the NLUUG website!