This week in classes I did my peer reviews and listened in on the design presentations outside of class I kept considering the raspberry pi’s CV system and how it would determine the moves based on the game and it’s connection to our STM32. I was previously debating having an initial baseline from the start of the game that will be told by the user. So they will say “chess” and that’s how the system will know what pieces are where exactly in the beginning as to avoid having to do any ML for the games we are on to have piece classifiers. However after our design presentation we had considered we realized we would need a classifier for pieces for all our games any way because there are positions like in chess here a mere diff won’t tell us exactly which piece was taken if there is more than 1 option for taking. Our CV will be Diff based from start of turn to end of turn which will be determined by a button but also have an image classified. I started working on this implementation. The Pi would communicate to the STM by sending the following to the STM:
HOME
MOVE(from_x, from_y, to_x, to_y) or probably more simply MOVE(to_x, to_y)
STOP
the STM would send back:
RECIEVED, DONE, or ERROR
I started considering and drawing out our states and the communication between our two controllers
