Giter VIP home page Giter VIP logo

Comments (9)

geraicerdas avatar geraicerdas commented on June 1, 2024 1

Hi,

Thank so much for making the code available for public. I will try to modifying this extension, and will let you know the result.

from codelab_adapter_extensions.

geraicerdas avatar geraicerdas commented on June 1, 2024 1

Hi @wwj718

Here is my few mod update.
I've succesfully added a dropdown list for block behavior, action, and sound.
added play a sound block. Both local and online
added play wikipedia block
added translate block

I've tested with my alpha mini robot, and it works great. Some features are still work in progress.

new_alphamini_extension3

new_alphamini_extension4

Please have a look my mod in case you/anyone want to update or want to makes another version.
Scratch3_alphamini updated by geraicerdas

Thanks again for your amazing works, especially for making the sources available for public

from codelab_adapter_extensions.

wwj718 avatar wwj718 commented on June 1, 2024

Hi geraicerdas,

image

You can achieve these goals with these two blocks, which allow you to get any of the capabilities of Python sdk.

If you would like to do more, you'll even be able to introduce most of Python's capabilities into the Scratch page without rebuilding Scratch. This means that the end user can do it too.

https://adapter.codelab.club/extension_guide/extension_python_kernel/#_5

from codelab_adapter_extensions.

geraicerdas avatar geraicerdas commented on June 1, 2024

Hi,

Thank you for your reply. I got your viewpoint. You methods also minimize the development efforts.

  • make a drop down list for blocks code : behavior, actions, and expressions. As you know this three features are built-in and can't be modified. IMO it would be great if the App let user choose (ex: the behavior name) rather than entering the code name defined by UBTECH.

Yes, getActionList block is quite helpful. Currently we just print out the the action list from the alphamini developer so my kids can easily read the list and choose the action. But it seems the getActionList just returning the list of behavior, action and expression only, not all of the capability of alphamini sdk. CMIIW

alphamini_broadcast_return

So my next question is, could you assist me how to achieve the rest of the goals with the existing extensions and nodes?

  • adding playing a sound block. Both local mp3 file and online.
  • adding speech recognition block
  • adding IR sensor block. My mistake, it is already available in the existing extension
  • adding touch sensor block
  • and other feature that mentioned in the mini-sdk

For instance in the alphamini sdk demo provided by marklogg, there is a test_sound.py which is can make alphamini playing a cloud mp3 file. Is there any ways to make the alphamini can do this ability?

play_audio_online

from codelab_adapter_extensions.

wwj718 avatar wwj718 commented on June 1, 2024

hi geraicerdas,

We have no plans for more extensions to continue enhancing the Scratch3 Alphamini extension for now, we are trying to provide some generic blocks for users to introduce more capabilities from Python to Scratch , but the usability may not be good enough. The way to improve the usability is to write more code at the UI level, but that need a lot of work and our small team doesn't have more energy to do that at the moment, so sorry. The official UBTECH team might have more motivation to do that, you could contact them, good luck!

from codelab_adapter_extensions.

geraicerdas avatar geraicerdas commented on June 1, 2024

Hello,

It is possible to get .js alphamini extension, so I can help you to improve this extension?
Thanks

from codelab_adapter_extensions.

wwj718 avatar wwj718 commented on June 1, 2024

Sure, I'll clean the code and put it on Github

from codelab_adapter_extensions.

wwj718 avatar wwj718 commented on June 1, 2024

https://github.com/CodeLabClub/scratch3_alphamini @geraicerdas

from codelab_adapter_extensions.

wwj718 avatar wwj718 commented on June 1, 2024

Great work ! Thank you for sharing !
We will benefit from your work, and I expect we will soon merge these updates into our online platform.

from codelab_adapter_extensions.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.