Task Script icon Task Script Split complex robot tasks into sequential scripts, synchronizing asynchronous skills via NEXT/CANCEL commands for staged automation. Try it →
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

Stay on the cutting edge of robotics with ARC Pro, guaranteeing that your robot is always ahead of the game.

Author Avatar
PRO
Synthiam
LinkedIn Thingiverse Twitter YouTube GitHub
#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
LinkedIn Thingiverse Twitter YouTube GitHub
#3  

Excellent!:)

Looking forward to seeing your creation!