heitorsales
09-11-2015, 03:10 PM
Bug ReportOperating System:
Other Short Description:
Adding a Walker.IsStuck() func Behaviors: Client Debug
Feature error
Indepth Description:
It would be interesting if the method Walker.IsStuck() would be added to the Xenobot API. I've noticed that my Walker sometimes skips "Stand" points, also ignoring some "Self.UseDoor" method calls. Having a Walker.IsStuck() would come in handy to detect such issues in the script routine itself, allowing the client programmer to properly handle such conditions (for example, as restarting the walk path).
To attain a better design pattern, having the "Walker Stuck" being handled by event listeners through the registerEventListener method would make the code even more elegant for that purpose.
Other Short Description:
Adding a Walker.IsStuck() func Behaviors: Client Debug
Feature error
Indepth Description:
It would be interesting if the method Walker.IsStuck() would be added to the Xenobot API. I've noticed that my Walker sometimes skips "Stand" points, also ignoring some "Self.UseDoor" method calls. Having a Walker.IsStuck() would come in handy to detect such issues in the script routine itself, allowing the client programmer to properly handle such conditions (for example, as restarting the walk path).
To attain a better design pattern, having the "Walker Stuck" being handled by event listeners through the registerEventListener method would make the code even more elegant for that purpose.