Award
Congratulations DJ Sures, for answering the question and has received an EZ-Credit award! Share what you have learned and create a tutorial to help others by clicking here.

Camerastop Command Still Crashes Everything

Assistance Requested

Help elfege with their question and receive $10 of EZ-Credit to get more robots and parts from our store. The following information was provided about their previous efforts searching tutorials for a resolution.

elfege claims to have checked these sources:
 
#1

Hi,

Could someone fix once and for all this bug (see file attached)? This is a terribly annoying one... :s

I'm using only EZB cams now, no more third party ip camera...

thank you Smile
User-inserted image

I have found a few conversations, tutorials and activities that may help with your question. Take a look at these links. I've sorted them by what I believe to be most relevant but that is not always the case as I'm still learning.


Also, consider reviewing the Learn section for informative lessons and activities. Check it out!


#2

Again, this isn't an issue with ezbuilder. This has to do with the loopy spaghetti code. Please post your project so I can provide advice again.

You may fix this yourself by at the least, putting Sleep() commands after the camera start and camera stop. That gives the camera time to do something before sending another camera command rapidly.

Use a sleep(1000) after each camera start or stop command.

#3

Sorry Dj, this was again one of those messages posted after too many hours. I don't even post my project because when you see how stuffed it got... Smile

this pic was actually before I modified the code adding, of course, sleeps and taking off the redudant camerastop command. But still, sometimes this bug happens just because I hit the camera's start button, you know...

And, well, I have some italian origin, so I like spaghettis, what can I say? Grin

#4

Here you'll find a screenshot of the same crash, just hitting the camera start button once, then off, then trying to turn it on again, while NO script is running whatsoever. So far I've never been able to get a script to keep the camera alive which would be convenient during maneuvers using glyphs, since it turns itself off quite often.

Elfège.


User-inserted image

#5

Thank you for your answer Dj.