I just tested using the pixy_uart_emulation.py example and the same problem occurred. It refuses to run it (I sent you video as PM). It works fine with smaller .py examples like the helloworld.py. I running with them without the SD card inserted though.
Hi, this looks like the weird Mac problem we’ve seen forever… it’s not an issue with the camera. The IDE is just not getting a response from the camera after sending the script. The script size probably has something to do with how USB packets are sent to the camera. The same script for me works on my PC with the same firmware version.
I have an idea. So, I’ll be down in the South Bay area next week to support a Rocket Launch at Planet Labs (day job). While I’m down there. I can bring my USB analyzer with me and scope out the packets sent to the OpenMV Cam by the PC. Fixing this issue would be really good for our Mac users.
To bypass the USBDBG stack… do this. Use the Open Terminal feature to open the serial port your OpenMV Cam is on. Do this without connecting the camera. Then, hit the run button to run the script in the editor window. The script should start outputting text. To see the frame buffer just add a:
At the end of the main loop. You should get the same performance as with the native USBDBG protocol.
I’m still having this problem with the latest IDE (v1.8.0) running on a Mac. Small scripts run fine from the IDE, but large scripts like the pixy_uart_emulation.py just don’t run. However, it runs fine on Windows.
I don’t really follow your instructions above. In particular where you ask to open the serial port where my OpenMV Cam is on, but do this without connecting the camera. If I don’t connect the camera, then /dev/tty.usbmodem1411 is not listed. Sorry I might be missing something.
Hi, the Open Terminal feature needs the camera connected to the PC. What I was saying is not to press the “connect” button in the IDE. Open terminal just connects to any serial port and talks standard serial IO.
Um, I’m going to have a test image for Mac that may fix issues out this week. I’m just finish up a feature for a customer this weekend.