Robot in playground: provide default behaviour
Created by: stephanemagnenat
Playground should provide a way to specify default robot behaviors through an AESL source code. Practically, there are different ways of doing so:
- Add the source code of a given node as part of the text content of the robot tag.
- Add a
sourceCode
attribute that links to an AESL file.
Solution 2. is more work as it requires a full AESL parser in Playground, but it might be the occasion of factoring the different versions these parsers throughout the Aseba codebase. This code might be called by a method within DashelConnected<AsebaRobot>
.