|
Re: How Can I aim at the Vision Target Faster but without overshooting?
something else that might help. When using feedback control (PID) loops, your system will respond better if it is way overpowered.
This means your bot needs to be able to turn very quickly. Another way of saying this is it needs to be able to turn very easily.
If you are using tank/skid steering and it take nearly full power to turn the robot, then the PID control system wont have any room to do its stuff (any headroom to make strong adjustments).
you might need to loosen up your steering by making the front wheels turn easier.
Another thing that causes overshoot is a slow response time. Make sure you code is as efficient as possible. Comment out all printF statements, and any other code that doesn't need to be there.
Think of it this way, the control loop functions by telling the motors to do something, then looking to see what effect that had on the aim of the camera
if it takes a long time for the control loop to 'look and see' then the response will be too slow for a tight (fast) lock on target.
Last edited by KenWittlief : 18-02-2006 at 15:54.
|