mam toho Boosta.
prosim o link na ten project s firmware s Pythonem.
nerad bych zase skoncil na nejakem "proof of concept"
Pybricks https://pybricks.com/ ma firmware na rozne LEGO bricks. Ich API docs je uplne dokonaly
https://docs.pybricks.com/en/stable/index.htmlCelkom sa mi to pacilo, ale decka su na to este male / chytene v endorfinovej youtube-shorts pasci a ja s tym nerobim z nedostatku casu. Na pybricks stranke su aj nejake example projekty, napr.
Mindstorms line follower https://pybricks.com/projects/sets/mindstorms-robot-inventor/other-models/steerbot/#programWebapp pre ovladanie cez bluetooth z chrome je
https://legoboost.azurewebsites.net/Su k tomu aj zdrojaky
https://github.com/ttu/lego-boost-appPri troche snahy by sa to dalo pouzit na portovanie celeho LEGO Boost sw do HTML5/js pre chrome, ale LEGO na to zjavne uplne kasle.
K
web-bluetooth je vseobecny Chrome tester
https://googlechrome.github.io/samples/web-bluetooth/read-characteristic-value-changed.html len treba tusim zapnut samotny web blootooth lebo je to este experimentalna feature chromu.
Na yt ma pekne LEGO® Boost with Python programming video Andrey Pokhilko
https://www.youtube.com/watch?v=oqsmgZlVE8IAndrey ma aj projekt
https://github.com/undera/pylgbst s popisom:
In fact, Move Hub is just a Bluetooth hardware piece, and all manipulations with it are made by commands passed through Bluetooth Low Energy (BLE) wireless protocol. One of the ways to issue these commands is to write Python program using this library.