recognizing moving objects vs stationary objects
I just finished building the start here robot. It works great and I'm really excited to have built my very first robot. Now what I would like to do is try and have it recognize moving objects vs stationary objects and react differently to objects that move. What I was thinking is that since the robot is stationary when it looks around I would make it look around one more time. If it looks at an object on the first pass and that object is at position A and then on the second pass the object is still at position A then it is stationary and the robot would behave as it always had. If on the other hand on the first pass the object is at position A and then on the second pass it is at new position B then it must have moved. This would be useful because I could then have the robot turn and follow the moving object. My robot coding experience only involves copying and pasting but if this is possible I think I could figure it out. I don't want code written for me (that'd ruin all the fun) but I'd like to know if this logic would work or if there would be a better way to accomplish this goal using programming only. Later I'll upgrade my robot with more parts but for now I just want to play with the programming.