So I dug up Douglas P. Laus excellent NXT_Python module that does everything you need in terms of managing files on the brick, and then I added a shell on top. You can find it here: http://www.danbbs.dk/~kibria/nxt/nxtsh.py.
A couple of notes:
- You need the NXT_Python package, and you need the packages that NXT_Python requires. You can find these at Douglas' page.
- The pyusb link on Douglas' page seems broken - use the SourceForge page instead if you have problems
- This can as far as I can see only run as root when using USB due to a restriction in the pyusb module used by NXT_Python.
5 comments:
Hey, thanks for the NXT communication shell! I just got my mindstorms last week and I'm happy I won't have to install windows to use it. You should submit it (or a link) to the linux support section on http://bricxcc.sourceforge.net/nbc/. I followed they're instructions for the usb and udev configuration and it worked fine with your shell. Thanks again!
thanks for this work,
is possible to have also some examples in python of sending controls to bricks(move, stop,...) and to receiving signals from them?
thanks
Excellent... I've been trying to use my NXT in my linux machine. Your shell works perfectly.
Thanks for this, it's awsome. The link is down though but I found it on archive.org. For anyone else who might have trouble downloading, here is the archive.org link: http://web.archive.org/web/20070829234706/http://www.danbbs.dk/~kibria/nxt/nxtsh.py
Nice software, thanks! Small bug - line 44 should have a "print" at the beginning of it.
Post a Comment