View Single Post
  #4   Spotlight this post!  
Unread 31-01-2016, 18:47
ThomasClark's Avatar
ThomasClark ThomasClark is offline
Registered User
FRC #0237
 
Join Date: Dec 2012
Location: Watertown, CT
Posts: 146
ThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud ofThomasClark has much to be proud of
Re: GRIP Axis Camera feed too slow

Quote:
Originally Posted by mlyhoops View Post
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 View Post
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.
  1. Stop the robot for two seconds
  2. Read the current position of the target and calculate the change in rotation you need
  3. Use the calculated rotation as the setpoint for a PID loop with the gyro as the input
__________________
GRIP (Graphically Represented Image Processing) - rapidly develop computer vision algorithms for FRC