-
Notifications
You must be signed in to change notification settings - Fork 2
Description
The Hack-E-Bot robot will sometimes not function if there are four or more story points in ScriptEase. For example in ScriptEase if I create a story with this structure:
Start->Forward->Back->stop
_>Detect
Works fine in Arduino, however if I create the same story in this structure:
Start->Detect
_>Forward->Back->stop
the robot will not work. At first we believed that it had to do with the ordering of the story points, since in the Arduino "StoryPointSetup" method, "forward" would come before "detect" and produce working code, and "detect" would come before "forward" in the non-working code. However we discovered that usually more than four story points will not produce working Arduino instructions no matter the format.
Currently we're not sure why this is happening. All the tests I've run on the story point tree structure work as expected and all the robot "instructions" fire correctly when I'm using a debugger/dedicated C++ IDE and not using Arduino. So we think this might be caused by differences in compilers