In this week, I learnt further in logical programming using blockly. I learnt the most important concept of loop (Repeat-Set) with the help of counting up/down program (Count down timer for new year). Then, I learnt in details about camera control in JD. I learnt how to do face detection using Roboscratch, Blockly and EZ-Script which gives me a basic program for my research. I got to know how to make JD stand from sit using auto position control window. I also got to know how camera control windows tracking tab help in face, object and color recognition. In face detection using EZ-Script, gear icon is used for tracking configuration settings. Under script tab, we need to tick script execution check box and after that we need to insert respective script in Tracking start (Execute (Face detect)) and end (Execute (Tracking stop)) script section. We need to click on the pencil icon to edit script using EZ-Script (same can be done using blockly) and then don't forget to tick face check box.
For Color tracking with servos (Object Tracking), we need to understand that Horizontal and vertical servos hold the camera head of JD which will be used (moved) to follow object of specified color. For doing this, we need to go to the camera control window and under multi color section click on edit. One thing we need to remember in that, white areas and varied luminance create noise in the background. Also, for the Head servos, we need to set them to follow detected color using gear icon. So, there are 2 axis settings for head servos, one is X-Axis which is Horizontal Servo and other is Y-Axis which is Vertical Servo. For making the JD robot look up when object goes top of the camera we need to set the vertical settings to inverted. Also, for making the additional (arm) servos follow the detected color, left need to be inverted to compensate for reversed orientation. The Color Identifier program using Blockly (With EZ-Script) helps in understanding color tracking with servos in depth.
Comments