Actor-Lab is a program that visualizes the Lego Mindstorms internal logic through visual flowcharts. The ideas underlying actor-lab are derived from the event-driven, message-passing computer languages that began with the actor based languages devised by Hewit. Actor-lab requires constant communication with a programmable brick (e.g. the RCX) via an infra-red link. This means that the user has to mount the programmable brick vertically for models that move about, and hold the tower in some form of gantry crane. Actor-lab shows the user in real-time what is happening on the programmable brick, including simulation of motors, sensors, lights, and sounds. One can also add controls at the bottom of the screen to give oneself real-time control of your program/model. There is a similar program from Lego called Robolab, where one can actually download programs to the Lego programmable brick.

Controls within

  • Alt+Mouse Drag on an actor will move him to any location specified.
  • Double Click on an actor will edit his current messages.
  • Alt+Click on a control will edit the current actions that the control sends to actors.

Notice that there is one control that cannot be edited. This control is Power OFF or Stop.

References

  • Whalley, P. (2006). "Representing Parallelism in a Control Language Designed for Young Children" (PDF). Visual Languages and Human-Centric Computing (VL/HCC'06). pp. 173–176. doi:10.1109/VLHCC.2006.41. ISBN 0-7695-2586-5. S2CID 2259117.{{cite book}}: CS1 maint: date and year (link)
  • Peter Whalley (July 2007). "Modifying the metaphor in order to improve understanding of control languages—the little-person becomes a cast of actors". British Journal of Educational Technology. 38 (4): 715–726. doi:10.1111/j.1467-8535.2006.00642.x.


This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.