
ma.manoj
India
Asked
— Edited
Hi,
I tried the colour tracking in the ar drone v2. It works perfectly well. But the problem is, the drone comes racing towards the object as close at it can get. Can you tell me what I can do so that the drone stays a little bit far away from the coloured object always.
Thanks & Regards Manoj
repeatuntil($i=10) if($CameraObjectWidth > 70) stop() endif endrepeatuntil
i used repeat because I want it to continuously check it.
Hi Dj,
I am on a vacation. I will upload a video once I am back.
What is your variable $I?
Is that the Height?
This is what you need...
$i is just a loop variable for infinite loop. You can use the script as suggested by DJ .. More clear. Thank you.
That really helps me, thank you DJ and manoj~