View Single Post
  #3   Spotlight this post!  
Unread 18-01-2012, 08:45
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,750
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: Distributed vision processing in C++

My suggestion would be to modify your Dashboard app (SmartDashboard or whatever), which is probably the one requesting the image, to either forward the JPG data or decompressed image data to a DLL where your C++ code runs. If you prefer, you can have your C++ code directly get the image from the camera using HTTP, or you can even write the dashboard in C++. The dashboard doesn't even need to display much.

The Driver station automatically launches a process called Dashboard.exe, and that is why I recommend changing the dashboard. You can also edit the ini file for the driver station to run whatever command line you wish, or you can get your dashboard to launch a C++ process.

Your options are very open, but it will take some effort to do it.

Greg McKaskle
Reply With Quote