DanieleBenedettelli / HuskyLensSPIKE

HuskyLens AI Camera micropython library for LEGO MINDSTORMS Robot Inventor / SPIKE Prime
GNU General Public License v3.0
5 stars 1 forks source link

Code revision request to work with new SPIKE Prime Python Editor v3.3.1 #2

Open JDwyer009 opened 1 year ago

JDwyer009 commented 1 year ago

Hi Daniele

LEGO Education have just released an exciting new update (v3.3.1) to their SPIKE Prime Python Editor. This has been a significant rewrite to the code. Unfortunately, this has broken your clever code to drive the Husky lens camera using the SPIKE Hub. It is now only compatible with the older SPIKE Legacy App which is being retired later this year.

I'm hoping it might be a quick edit for someone like yourself to revise your code. Lines like line 73 "self.uart.mode(1)" no longer compile. Also, there does not seem to be a doc on what low level python features are still accessible. Hence it has moved a bit out of my depth. Are you (or anyone else) able to rewrite the library/code so that the Husky lens works again with the SPIKE Hub. It is such a cool enhancement to connect the huskyLens.

clas72 commented 2 months ago

I bump this and kindly ask for the same update if possible.

DanieleBenedettelli commented 2 months ago

Hello. Since LEGO keeps changing the Python API, I might port the library to be used with Pybricks. I don't have time now, but I have this in the todo list.

D

clas72 commented 2 months ago

Support for pybricks would be highly appreciated :)