I was recently researching to have Pixy track a laser, then move the laser when something interrupts it. I saw a video posted by Pixy on their youtube (this video: https://www.youtube.com/watch?v=g-JBesTWeJg&t=1s) and wanted to know if there was any source code available for that. Our goal is to attach the laser to pixy (or have it separate), then have the laser move every time Pixy detects that an item (tennis ball in this case) interrupts the laser.
The YouTube video is almost exactly what I want to do, just on a slightly bigger scale. Does anybody know how to make this work, or an idea of the code or parts I could use?
Hannelore & Elena