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

Elevate your robot's capabilities to the next level with Synthiam ARC Pro, unlocking a world of possibilities in robot programming.

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)

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.

PRO
Synthiam
#3  

Excellent!:)

Looking forward to seeing your creation!