Budou velikonoce, tak jsem si rekl ze s detma postavime robota na malovani vajicek z Lego Boost. Chtel jsem to delat s tim nejmensim, takze zadne dlouhe vymysleni. Nasel jsem na Rebrickable hotovy MOC, koukam ze program je ve scratch. Tak jsem nasel scratch-link pro linuxy (link je potreba na propojeni scratch s boost pres bluetooth), funguje to, hura (smejdi, oficialne je vsechno jen windows nebo apple).
Takze malujeme vajicka, funguje to, super.
Akorat koukam, ten scratch umi ovladat motory, barevny sensor, sensor naklonu, ale neumi senzor vzdalenosti. Nasel jsem diskuzi kde to resi, a nejaky borec chybu nahlasil, pak to dodelal a poslal patch do hlavniho projektu. Akorat to do hlavniho kodu scratche neprijali. Proc? Protoze:
"We discussed putting in blocks for the distance-sensor while developing the extension, but decided not to. In the end we wanted the smallest block palette that enabled the widest range of projects, so it wasn't a technical issue, but rather a design decision."
Tohle prosim napsal borec, co je zamestnanec lega a oficialne dela spojeni scratch a lego boost (a wedo atd.).
Takze scratch ma pro boost 13 ikonek, ale nechteji pridat 1 nebo 2 ikonky, protoze by to pro deti moc? Samotny scratch ma v zakladu odhadem 100 ikon!
Tak mam pocit ze bych chtel nekoho na miste odstrelit.
vajickovac:
LEGO MOC Boost Egg Decorator by dawidmarasek | Rebrickable - Build with LEGO
https://rebrickable.com/mocs/MOC-42140/dawidmarasek/boost-egg-decorator/#details
funkcni scratch-link pro linux:
GitHub - kawasaki/pyscrlink: Scratch-link for Linux written in python
https://github.com/kawasaki/pyscrlink
diskuze o chybejicim cteni senz. vzdalenosti:
Lego Boost extension: Add support for distance-sensor · Issue #2210 · LLK/scratch-vm · GitHub
https://github.com/LLK/scratch-vm/issues/2210