So, before I start, I'm a mechanical guy, programming just typicallydon't work with my constant typo's so bear with me a bit.
My objective here, is to have a robot that can follow an object for something similar to radio controlled soccer with left/right tank steering to keep things simple, and also take input from me into consideration, I'll explain more fully below, but basically:
-I have forwards/backwards/turn radio control of the robot, this accounts for ~20% of throttle or so, the idea here being I can make decisions and trundle around when the ball cannot be found because of another robot in the way, or if I just think I have a better plan
-When needed, I can toggle a button on the remote, engaging the "ball finding" mode, the arduino In my mind I imagine this opening up about 50% or so of throttle to the arduino, it would adjust the left and right sides to keep the ball in front of it. Now it could track the ball visually (but this is probably a bad idea since I dont have control over the enviroment), or I was thinking an IR laser aimed at the target would also work, it really doesn't matter. The expected behavior here is I can control the forwards/backwards motion, but the robot keeps the ball centered in front of it.
--For example, I press forward, the ball is moving right, the left drive motor would stay at 20% throttle (what Im allowed to do manually) or maybe dip a little lower, the right drive motor would open up to up to 70% throttle in order to keep the ball in front of it as it drove forward.
It doesn't "seem" too complicated in my mind, if ball is sensed off center (and "track" button is pressed), add a little bit to the pwm signal going to that speed controller depending on how far off center, if it isn't detected, don't do anything just let the pilot drive
What are reasonable expectations for this sort of thing? I've seen line following robots that do alright, but the ball is a moving object that could be going 5 or even 10 miles an hour, so it seems /very/ rapid updates to the motors would be necessary to keep the ball in front of it.