So I am having an issue with the camera (M7) disconnecting when I try to run a script. I will click the green play button and it will hang for a few seconds, and then disconnect without running the script.
I saw this problem mentioned here: http://forums.openmv.io/viewtopic.php?t=315
I followed the three steps listed there:
- green button stays green indefinitely
- Frame buffer disabled, script runs indefinitely
- Frame buffer enabled, script runs indefinitely
This is true for all of the example scripts I have tried.
However, when I try to run my own script ( based mostly on example scripts ), is when the problem happens. I have noticed that if the file has been edited in a different text editor (in my case Vim and Sublime) the problem will happen. Furthermore, if I copy/paste code from another one of my scripts the problem happens. Lastly, sharing work with my group mates and implementing it in my own code will also cause this problem. If I remove the copy and pasted code, it WILL run the script, but if I then try to further edit that file within the IDE the script will not run and the camera disconnects. This is causing huge issues since it is making it very difficult to collaborate with my classmates without having this problem occur.
I am running OSX 10.12.3
Thanks in advance for any help!