Quote:
Originally Posted by RDD
yes I will check the TTL but also I Want to ask you what I have exactly to change to make the robot moves towards the green light except the tracking pwms and why wheN I am moving the joysticks nothing happens with kevin's code ??
|
Well let's see, first, Kevin's code does not call the ifirobotics routine, Default_Routine, in which the joystick to chassis pwm connection is made. He only wants to demo the camera capabilities and not let your 'bot run wild
To track the light, we decided to let the driver have a switch (the trigger on our single joystick) when he (or she) holds it, he has control of the y or forward motion. We use the camera servo position data, so nicely packaged by Kevin, and a PID control function to control the x or side-side motion. I'll leave the details of that to you
