View Single Post
  #14   Spotlight this post!  
Unread 23-02-2010, 01:07
nathanww nathanww is offline
Hacker
FRC #1678 (Citrus Circuits)
Team Role: Programmer
 
Join Date: Dec 2008
Rookie Year: 2007
Location: Davis, CA
Posts: 224
nathanww is just really nicenathanww is just really nicenathanww is just really nicenathanww is just really nice
Re: vision causes mega-lag in main loop

The cRio's going to slow down when it's doing ellipse detection. Period. It is inherently a very processor-intensive operation, and the cRIO's CPU isn't that fast.

That said, if you're worried about it hurting performance of your main loop, can you have it only process images when specified conditions are true? We were able to improve the responsiveness of our drivetrain and arm a lot just by only turning on the tracking system when it was specifically needed(of course, if you're doing any sort of predictive tracking, this won't work)
__________________
Get yer robot source code here!
Reply With Quote