Closed ghost closed 7 years ago
First, transfer "makelinks.sh" and "segway.py" to your EV3, and put them in the same directory. To turn them into executable scripts, run:
chmod +x makelinks.sh
chmod +x segway.py
Now you can run the program:
./segway.py
hold segway up right with its resting wheels on the ground and wait for the program to start.
i'm still getting this error:
-bash: ./segway.py: /usr/bin/env: bad interpreter: Text file busy
Can you retry it after you restart the brick?
Also, can you run only
./makelinks.sh
ls -al
and give the output?
i managed to get it to run and work properly using sudo ./segway.py probably it needed admin access to force it to work.
Thanks
It shouldn't require that, though --- perhaps because something else was also accessing the file, from your previous attempts. Perhaps after a restart it shouldn't need that.
Hi,
i'm new to ev3 gyroboy - mindstorm and i was trying to use the code in this link:
https://github.com/laurensvalk/segway/tree/master/ev3/ev3dev/python
to test it and see how it works. but i keep getting multiple errors:
1- permission denied = changed the permission to 777 2- text file busy = ??
i also created the file makelinks.sh but still can't test the code.
Thanks