![]() |
Welcome to ftp.nluug.nl Current directory: /ftp/os/Linux/distr/salix/x86_64/extra-15.0/source/python/python3-nxt-python/ |
|
Contents of README:nxt-python (python module to control Lego NXT) 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/python3-nxt-python, but you should verify the vendor code of the NXT unit. To verify a 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 ------------------------------- python3-pyusb (for USB communication) python3-pybluez (for bluetooth communication) |
Name Last modified Size
Parent Directory -
70-lego.rules 27-May-2022 23:51 68
README 27-May-2022 23:51 1.1K
nxt-python-3.0.0.tar.gz 27-May-2022 21:51 86K
python3-nxt-python.SlackBuild 11-Mar-2022 06:34 2.3K
python3-nxt-python.info 27-May-2022 23:51 349
slack-desc 27-May-2022 23:51 892
NLUUG - Open Systems. Open Standards
Become a member
and get discounts on conferences and more, see the NLUUG website!