View Single Post
  #1   Spotlight this post!  
Unread 01-25-2016, 09:20 AM
lalondma lalondma is offline
Registered User
AKA: Marc Lalonde
FRC #3990 (Tech for Kids)
Team Role: Mentor
 
Join Date: Mar 2015
Rookie Year: 2015
Location: Montreal
Posts: 5
lalondma is an unknown quantity at this point
Managing a vision coprocessor: new package

Hello all,
I've seen a few threads on vision processing recently. Good timing, I'm releasing C++ code for managing vision functions that have been offloaded to a coprocessor (Odroid XU3 in our case). Communication between the roboRio and the coprocessor is message-based (zeromq) and asynchronous, so it won't block inside AutonomousPeriodic() or TeleopPeriodic(). Basically you send commands to the coprocessor and you use polling to get the results. Command handling is multithreaded (commands are executed in parallel), and adding new commands (e.g. based on OpenCV) should be easy if you follow the documentation.

Drop me a note if you have installation/implementation issues...

https://github.com/team3990/TechVisionCoproc

Marc
Reply With Quote