Hello. In my BeagleBone system, I have multiple processes which attempt to communicate with the pixycam2. When one process starts, it calls pixy.init() to initialize the pixycam and then does some work. Then another process starts and it also needs to call pixy.init() before communicating and doing work. However, this initializing always returns -1 and I believe it’s because the other process already called init(). Is it true that only 1 process at a time can interface with the pixycam over USB? Furthermore, is there a way “stop” or “release” the pixycam after doing some work? For example, something like:
- pixy.init()
- Do work
- pixy.stop()