View Single Post
  #2   Spotlight this post!  
Unread 02-10-2015, 12:22 AM
calcmogul's Avatar
calcmogul calcmogul is offline
WPILib Developer
AKA: Tyler Veness
FRC #3512 (Spartatroniks)
Team Role: Mentor
 
Join Date: Nov 2011
Rookie Year: 2012
Location: Santa Maria, CA
Posts: 51
calcmogul is just really nicecalcmogul is just really nicecalcmogul is just really nicecalcmogul is just really nice
Re: Has anyone run OpenCV in a separate WPILLib Task / Thread on the RoboRIO?

If you're using C++, you can make a new thread with std::thread. http://www.cplusplus.com/reference/thread/thread/

Use std::mutex for synchronization (i.e. variable passing) between threads. std::future would also work well here.
Reply With Quote