Closed Softelectro closed 10 years ago
I try to comment different part of the code about the video decoding, but i've got always the problem.
Is somene have the same issue, or just me?
Hi,
I confirmed my AR.Drone didn't takeoff after comment outed initVideo(), too.
Well, what about disable the codes which create the video thread ? I mean you should comment out
// Create a thread //threadVideo = new pthread_t; //if (pthread_create(threadVideo, NULL, runVideo, this) != 0) { // CVDRONE_ERROR("pthread_create() was failed. (%s, %d)\n", __FILE__, __LINE__); // return 0; //}
in line 111-115, in "video.cpp".
Regards, puku0x
Thanks, I try this solution and it's work
Hello, For a school project, I use "cvdrone" to communicate with the ARDrone. But school PCs are slow, so I want to switch off the decoding of the video flux. When I comment the function initVideo(), I can't takeoff the drone. Someone know how to switch off the video decoding correctly?
Thanks