Go to Post Did you know that if a G7, G27, G28, and G20 occur in that order at the same time, then the referee will appear to be doing the "YMCA"? :) - Jack Jones [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 26-01-2012, 23:36
Glen Glen is offline
Registered User
FRC #1444
 
Join Date: Jan 2012
Location: St. Louis
Posts: 5
Glen is an unknown quantity at this point
How to capture image from Axis 206 and save to cRIO?

Hi, I am a beginner programmer for Team 1444, and we are trying to capture an image from the Axis camera and then save it to the cRIO. I have seen some other posts around, but looking through the FIRST documentation, we can't seem to figure out how that would work. We have the live video streaming correctly to the driver station, and we are using c++. We don't care where the image is saved to (the home directory is fine). Would anyone be able to provide some advice and/or a code example which would be much appreciated?

By the way, we directly took the code from FIRST's WPILib Guide for the 2012 Vision System, and it seems like this line is what saves the image, but we never find the image in the cRIO's file system(ftp://10.14.44.2):

HSLImage *targetImage = new HSLImage("/testImage.png"); // create image

I am unsure as to what this is supposed to be doing, but it looks like this should save the image , right? What could be wrong?

Last edited by Glen : 26-01-2012 at 23:55. Reason: incorrect wording
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 17:41.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi