View Single Post
  #9   Spotlight this post!  
Unread 11-01-2016, 04:18 PM
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,509
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Gyro vs. Encoders for Driving Straight

Depending on what you want to do, it may be a mistake to process a camera stream real-time.

If you have a turret that aims while you are driving, it makes sense to process a video stream. You can be aiming all the time, so that when you stop you don't have to move very much.

If you're using the drivetrain, however, it's a much less costly proposition in terms of CPU if you stop, take a picture, then calculate how much you need to turn. Once you've completed your turn you can do another picture to verify you are aimed correctly, or do the loop again and turn a bit more.

Very few applications in FRC require real-time video processing at any appreciable frame rate. Unless you are 254.
Reply With Quote