Git Product home page Git Product logo

ubot_firmware's Introduction

👋 Hi, I’m Andrew (András Szabó)
🌱 I’m currently learning Java, Spring, AWS, ... 24/7 ;-)
📫 You can reach me on my personal site or on LinkedIn.

😊 Some of my dearest moments:

Oracle Certified Professional: Java SE 11 Developer      μBot, the educational floor robot      Robotics @ People Team Summer Camp

ubot_firmware's People

Contributors

hu-zza avatar

Stargazers

 avatar

Watchers

 avatar

ubot_firmware's Issues

Some short turn command freezes the motor and webserver

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...

Pause / Resume functionality for motor

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.