Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved exercise functions and error handling #41

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

ajfisher
Copy link
Contributor

Added some generic workshops around things like science / experimenter kit and basic mBot kits.

Also fixed a niggle I've had for a while around issues with the board resetting (eg due to power failure) and leaving the serialport in an undefined state. Now if the child process raises a failure condition (eg board time out etc) then it will surface the error to the parent process which will then:

  • Send the error condition status to the front end (via the console logger) in order to raise the condition with the user.
  • Finalise the termination of the child process and remove it completely (thus allowing a new child process to be created the next time Run Code is executed).
  • Some runner clean up.

Updated Johnny Five to current and SocketIO to current. Other packages remain non-updated due to potential large scale issues. Blockly in particular currently has huge bugs and would require significant refactoring to work (tested).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant