Skip to content

Improved exercise functions and error handling#41

Open
ajfisher wants to merge 7 commits into
makenai:masterfrom
ajfisher:2017-feb-updates
Open

Improved exercise functions and error handling#41
ajfisher wants to merge 7 commits into
makenai:masterfrom
ajfisher:2017-feb-updates

Conversation

@ajfisher

Copy link
Copy Markdown
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