Quote:
Originally Posted by mlyhoops
What is a seconds second latency?
|
A typo. If you're getting a decent framerate but some latency, that's normal. It's just that by the time you get images from the camera and process them, they're out of date, although 2 seconds does seem particularly high. Maybe try lowering the resolution.
Quote:
Originally Posted by mlyhoops
How would we adjust for overshooting? We had it working pretty well but it would always end up past the point where we want it and it wouldn't be very accurate.
|
- Stop the robot for two seconds
- Read the current position of the target and calculate the change in rotation you need
- Use the calculated rotation as the setpoint for a PID loop with the gyro as the input