OpenRoberta / robertalab-ev3dev

roberta lab connector for ev3dev
Apache License 2.0
17 stars 14 forks source link

Play sound files or show pictures #73

Open peacepro opened 5 years ago

peacepro commented 5 years ago

Is there a way to play soundfiles or show pictures from the ev3dev-media with OpenRobertaLab? Or how can I use the terminal?

ensonic commented 5 years ago

Not right now, but we have google-summer-of-student working on this feature. We actually we're awere of the ev3dev-media package, so thanks for letting us know. I need to check if the package is pre-installed.

What we could do it to scan the media at boot time (maybe cache the index) and report it to the open-roberta UI when connecting. The open-roberta UI could then add those files to the image-selectors (and later to the sound selectors). The code generator would need to produce some code to load the image at program start. This is not so nice, since we try to keep the programs self-contained, so that it does not break if the ev3dev-media package goes away (or is missing).