Hi, I'm trying to play with snap-nxt, but I'm not sure if I do the correct things:
After run "python Snap-NXT.py" a message with a URI is shown. Then I open my browser, paste the URI and Snap is ready. I go to "Variables" category and I can see new blocks.
Then I drag and drop a head "When green flag clicked" and a "move motor a 360 degrees" block. And finally I click the green flag. But nothing happends.
The output in the terminal is this:
Exception happened during processing of request from ('127.0.0.1', 51595)
Traceback (most recent call last):
File "/usr/lib/python2.7/SocketServer.py", line 295, in _handle_request_noblock
self.process_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 321, in process_request
self.finish_request(request, client_address)
File "/usr/lib/python2.7/SocketServer.py", line 334, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/lib/python2.7/SocketServer.py", line 651, in init
self.handle()
File "/usr/lib/python2.7/BaseHTTPServer.py", line 340, in handle
self.handle_one_request()
File "/usr/lib/python2.7/BaseHTTPServer.py", line 328, in handle_one_request
method()
File "/usr/lib/python2.7/SimpleHTTPServer.py", line 44, in do_GET
f = self.send_head()
File "Snap-NXT.py", line 18, in send_head
m_a.turn(power, degrees)
File "/usr/lib/python2.7/dist-packages/nxt/motor.py", line 211, in turn
raise BlockedException("Blocked!")
BlockedException: Blocked!
Hi, I'm trying to play with snap-nxt, but I'm not sure if I do the correct things: After run "python Snap-NXT.py" a message with a URI is shown. Then I open my browser, paste the URI and Snap is ready. I go to "Variables" category and I can see new blocks. Then I drag and drop a head "When green flag clicked" and a "move motor a 360 degrees" block. And finally I click the green flag. But nothing happends. The output in the terminal is this:
What might be the problem?
Thanks in advance.