matbos
Posts: 64
Joined: Thu Aug 16, 2012 3:29 pm

NXT BrickNotFound error

Thu Jul 04, 2013 8:09 am

Hi,
I have tryed to connect my nxt to raspberry pi. I followed theese instructions: http://www.burf.org.uk/2012/12/28/raspb ... -lego-nxt/. But when i try to run any of example sctipts i get this error:

Code: Select all

pi@raspberrypi ~/nxt-python-2.2.2/examples $ python spin.py
Fantom module unavailable, not searching there
Traceback (most recent call last):
  File "spin.py", line 12, in <module>
    b = nxt.locator.find_one_brick()
  File "/usr/local/lib/python2.7/dist-packages/nxt/locator.py", line 137, in find_one_brick
    raise BrickNotFoundError
nxt.locator.BrickNotFoundError
My nxt is connected and I've made the NXT-Python config file and put in it mac adress of my nxt.
Please help me.

matbos
Posts: 64
Joined: Thu Aug 16, 2012 3:29 pm

Re: NXT BrickNotFound error

Fri Jul 05, 2013 9:18 am

Well.. i figured it out by myself.
I just had to add sudo before the python command.

cricrithezar
Posts: 41
Joined: Sun Jun 02, 2013 8:38 am

Re: NXT BrickNotFound error

Tue Jan 07, 2014 12:07 pm

Wow, thanks ! Hadn't thought of that !

Return to “Automation, sensing and robotics”