View Single Post
  #8   Spotlight this post!  
Unread 13-03-2014, 08:26
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: What is the simplest way to access files from the cRIO during Auto/Teleop mode?

To answer your direct question, I'd say ftp. To answer your bigger question, I'd say ... don't do it that way.

To get images directly from the camera, you use an HTTP session where you request an mjpeg stream and decode it. This is how the cRIO does it, and it is how the dashboard does it. The camera can handle about five sessions at once.

If you want to process images on the cRIO using C++, that seems pretty straightforward. If you want to process images on the dashboard using LV, that is pretty straightforward. If you install LV and follow Tutorial 8 on the Getting Started window, you will have the basic goal detection working.

If you want to use C++ on the dashboard computer, you have much more work that you will need to do yourself. WPILib may be helpful, but I suspect there will be lots of issues you will need to fix.

Don't forget that you will also need to get the results of the image processing back to the robot.

I'd be happy to help, but you will need to broaden your approach.

Greg McKaskle
Reply With Quote