Discuss Scratch

Chewbacka91
New to Scratch
1 post

Developing a Scratch extension for an educational robot

Hello community!

Im trying to develop a VPL for Robotito, an educational robot used in public schools in Uruguay to enhace CT learning in kindergarten kids.
You can see the robot here: https://www.youtube.com/watch?v=FQR3kRMR1Es&feature=emb_title

This robot is running a LUA virtual machine and has it's own API for creating new behaviors, currently the only way to create a new behavior is to create a LUA script that uses commands from this API and transferring it to the robot's microcontroller via Wi-Fi.

My intention is to let non-programmer users such as teachers develop new behaviors on the fly using an Android device, and I was thinking that I could use Scratch for this.

After reading some of the documentation for ScratchX I have some doubts and wanted to see if someone experienced in developing extensions could clarify this for me.

As far as I understood I have to develop a javascript extension for ScratchX and make it available on github, in this extension I could declare new custom blocks for Scratch that make sense for this robot (Robotito). So I could launch Scratch on Android, then access the custom blocks and make a program and then comes my confusion… what is the output of the program like? can I make the output to be Strings with LUA commands for Robotito's API and then take these Strings and make a script out of them and send it via Wifi to the robot?


Any guidance, ideas or comments are welcome.

Thanks for your time and collaboration!

Last edited by Chewbacka91 (Sept. 28, 2020 22:31:15)

god286
Scratcher
1000+ posts

Developing a Scratch extension for an educational robot

As far as I know you would need to fork scratch to make a new extension right now (not too sure) and I don't know how it would work on an android device. Scratchx is for Scratch 2.0 which runs on flash which is losing security updates at the end of this year and does not run on android devices (I think) so it might be hard. But I hope you can do it!

Here are some of my followers!

I joined: 5 years, 9 months, 24 days ago (31/03/2018)
I have: 479 followers
In total, I have attained: 1,403 loves, 1,145 favourites, and 33,731 views.
Fun Fact: If my account continued to gain followers at a similar rate to right now, in 14,210 years I would reach the number of followers griffpatch has today! Try to imagine how many followers he would have then!
Thank you everyone!
Script created by god286.

Powered by DjangoBB