Lebanon
Asked — Edited

Ar Dorne

Hello All! i am interfacing the ARDRONE with th ARC. i noticed that when tracking an object (for example a green ball), the debuger shows comments like (middle right, middle left...) i assume that it is related to the pixel position of the object on the grid. i wonder, is it possible to save the debuger results on a file?


ARC Pro

Upgrade to ARC Pro

Get access to the latest features and updates before they're released. You'll have everything that's needed to unleash your robot's potential!

Author Avatar
PRO
Synthiam
#1  

You could create a script like this...


$filename = "c:\log.txt"

:START

IF ($CameraIsTracking = true)
  $line = "X: $CameraCenterX, Y: $CameraCenterY"
  fileWriteLine($filename, $line)
ENDIF 
  
sleep(100)

GOTO(START)
Author Avatar
Lebanon
#2  

thanks buddy... you are great. i am just new to all these stuff, it is for my PhD. i will remember of you in my dissertation. thanks a ton

Carlos.

Author Avatar
PRO
Synthiam
#3  

Excellent!:)

Looking forward to seeing your creation!