View Single Post
  #7   Spotlight this post!  
Unread 15-02-2009, 17:47
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Data delay between Crio and DS

Not seeing the code, my guess is that the vision code was placed directly into the tele loop. This will seriously delay processing tele packets that are streaming in at 50Hz.

Instead, try putting the camera code to run in parallel and update a global or local variable describing where the target is. Then incorporate that into your fast tele loop or you auto loop.

Greg McKaskle
Reply With Quote