hu-zza / ubot_firmware Goto Github PK
View Code? Open in Web Editor NEWThe firmware of the μBot, the educational floor robot. (A MicroPython port to ESP8266 with additional modules.)
Home Page: https://ubot.hu
License: MIT License
The firmware of the μBot, the educational floor robot. (A MicroPython port to ESP8266 with additional modules.)
Home Page: https://ubot.hu
License: MIT License
Motor module is autonomous and that's right.
However, if I run a broken turtle program...
...or just want to pause execution for observing...
...then this autonomy is a problem.
ubot_motor#stop, ubot_motor#resume is a good base,
but how can I reach them from one of the UIs?
Wireless: No chance, because it should stop handling
requests until ubot_motor / ubot_future is done.
Buttons: Maybe... Now it's a miracle well of motor freeze cases.
Method: GET
Accept: application/json or /
45° left: http://192.168.11.1/command/DRIVE_K // freezes
45° right: http://192.168.11.1/command/DRIVE_Q // freezes
The processing is same in each case:
ubot_turtle#move resolve the char / int by _moveCharMapping dictionary.
This dict helps converting ints to direction-duration int tuples.
ubot_turtle#move passes this tuple as separate arguments to ubot_motor#move.
The processing is successful, the webserver sends it's reply, but after that it
is not respond, and the motor module also stucks in processing:
motor.isProcessing() is true, _moveList is []
motor.move(0,0), motor.stop() and then motor.resume() helps...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.