
WayneA
USA
Asked
— Edited

Good Afternoon,
I am trying to get a better understanding of how the tracking works. The debug button within the camera control, allows you to see what is going on with the camera. I have not been able to see anyway to use that data in the EZ-Script. I will go ahead a apologize if it is there and I have not been able to see it.
Thanks,
WayneA *confused*
Well, from my understanding, the debug is just for trouble shooting. If you want to do something like have the robot beep when something is detected, you need to use the variables created by the camera control.
You see these by clicking the gear icon on the camera, and click the scripts tab, then variables. How to make a beep script:
Code:
Camera Device
Code:
With in the debug screen (it goes really fast!) There is a statement "16 Color and then i see (187,89) What are those numbers for? Can I use that in a script to maybe better help my robot stay where I want him to go? For me at least, it is difficult to keep the color tracking on track!
That's a lot of info!
Where are the arguments for the aforementioned commands? Do these values return a one or a zero?
Thanks Again!
If you want to know exactly what they do, use the variable watcher control, and run the camera control. It will show all the variables and what they're outputting.
If you want to keep your robot tracking the right object, try using multiple tracking types.(E.G. object tracking and color tracking, etc.)
Not sure what the numbers are. Possibly coordinates or color code?
Or click the variables tab to the right of the EZ-Script dialogue for a list of all variables and their values.