Async Code Blocks for NAO

47 views
Skip to first unread message

Gerfried Klein

unread,
Jul 2, 2018, 8:01:59 AM7/2/18
to Open Roberta
Hi,

Currently I am looking at the NAO Implementation.
The supported features are really nice, it looks very promising.
Unfortunately I miss the possibility to create parallel code blocks, which run simultanously.
Is this considered too complicated or will this be added in the future?
Being a software engineer myself, could this be a good starting point to contribute?
Is this the right forum for this sort of questions?

thanx
Gerfried


ensonic

unread,
Jul 3, 2018, 2:33:50 PM7/3/18
to Open Roberta
Hi Gerfried,

OpenRoberta is made for kids and right now it is a concisus decision to not support threads. Just imagine two treads, one turning a robot to the left, one to the right - if those are not properly synced, it is going to be tough for kids t understand what happens. I let others reply, but if we want to support this, I think the first step would be to write up a design for it. E.g. thread support could be in a (3) expert level.

Stefan

Charles Angel

unread,
May 1, 2019, 10:24:06 AM5/1/19
to Open Roberta
EV3-G is written for kids too and has a simple way to do parallel programming.  I personally think Open Roberta is a better programming learning environment than EV3-G, but they need some ability for synchronous programming.

Scratch does it as well and that is made for young children.

They do it simply by allowing multiple start blocks (the green flag).  For instance, one starting flag block might drive towards the mission model while another lowers an attachment (thereby saving time rather than one having to wait for the other).

Stefan Sauer

unread,
May 2, 2019, 3:49:50 AM5/2/19
to Charles Angel, Open Roberta
Hi,

yes the principle of the event blocks is clear and we are considering to design something like that for advanced users. Like I says the main challenge is to support users when they put conflicting statements into the event streams.

Stefan

--
You received this message because you are subscribed to the Google Groups "Open Roberta" group.
To unsubscribe from this group and stop receiving emails from it, send an email to open-roberta...@googlegroups.com.
To post to this group, send email to open-r...@googlegroups.com.
Visit this group at https://groups.google.com/group/open-roberta.
To view this discussion on the web visit https://groups.google.com/d/msgid/open-roberta/fc83fe66-e0e4-4ab1-8969-fbe496dc4734%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Stefan Sauer | Software Engineer | ens...@google.com

Google Germany GmbH | Erika-Mann-Str 33 | 80636 München | Germany
Geschäftsführer: Paul Manicle, Halimah DeLaine Prado
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg

Diese E-Mail ist vertraulich. Wenn Sie nicht der richtige Adressat sind, leiten Sie diese bitte nicht weiter, informieren Sie den Absender und löschen Sie die E-Mail und alle Anhänge. Vielen Dank.
       
This e-mail is confidential. If you are not the right addressee please do not forward it, please inform the sender, and please erase this e-mail including any attachments. Thanks.
Reply all
Reply to author
Forward
0 new messages