Update the neck exercise app in the waitForBlocks condition
Goals
-
Update the neck exercise to have
event x event
+waitForOne
type concurrency, e.g., the robot should monitor (i) whether the human has finished following the instruction or not or (ii) whether the human is making a mistake in parallel. If the human does (i), the robot should move on to the next instruction and monitor the human and if the human does (ii) the robot should repeat the instruction and monitor the human. -
Update the face sensing block (or javascript API) to wait for one of 4 values (
"left"
,"right"
,"center"
, or""
--face not visible from the perspective of the human)- note: I recommend discretizing the
noseAngle
value in this code https://github.com/mjyc/tabletrobotface-userstudy/blob/master/src/features.js to figuring out where the human is looking
- note: I recommend discretizing the
How to submit your work
- Create a pull request that contains the minimal code changes and demonstrates your solution.
Edited by Michael Jae-Yoon Chung