Go to Post I don't know how much of a safety factor chain manufacturers build into these ratings. I've got empirical evidence to demonstrate that it's not 5, however. - Tristan Lall [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 18-02-2010, 17:57
MartinB MartinB is offline
Registered User
FRC #2729 (Storm)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: NJ
Posts: 14
MartinB is an unknown quantity at this point
How can you save the camera image

I want to make the dashboard save the entire match in the form of a video file or something along the lines of that. How would I go about doing this? I tried the built in storage functions and those did not work due to "connecting two different data types."
Reply With Quote
  #2   Spotlight this post!  
Unread 19-02-2010, 07:23
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,752
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: How can you save the camera image

The dashboard currently saves a image per second up to sixty images during the match, and of course the images are the ones from the robot camera.

It is quite easy to extend the time to the whole match and increate the rate it stores them.

The other option is to store this info on the robot. The better way of doing this is to store the compressed image that comes from the camera. There is an icon in the WPI camera palette called Get Image Data String. It will be easier to wire to fie i/O.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 20-02-2010, 19:48
MartinB MartinB is offline
Registered User
FRC #2729 (Storm)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: NJ
Posts: 14
MartinB is an unknown quantity at this point
Re: How can you save the camera image

Thanks. I was thinking about using the avi stuff but haven't got time on the robot to test it. If that fails I'll try that.
Reply With Quote
  #4   Spotlight this post!  
Unread 20-02-2010, 21:55
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,752
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: How can you save the camera image

The AVI files will not work on the cRIO. They use MS Windows DLLs to produce the file, and none of that exists on the cRIO. So, you should be able to use them on the DB. The benefit is that you can view it in a viewer. The downside is when you want to measure something to improve the robot, you now have another layer of noise from compressing, decompressing, then compressing into another form.

Greg McKaskle
Reply With Quote
  #5   Spotlight this post!  
Unread 21-02-2010, 13:48
MartinB MartinB is offline
Registered User
FRC #2729 (Storm)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: NJ
Posts: 14
MartinB is an unknown quantity at this point
Re: How can you save the camera image

avi was not working on the db for me so I extended the number of images saved to 1 image every second for 220 images for the entire match.
Reply With Quote
Reply


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can we use the camera image on Dashboard this year? Jon236 Programming 1 11-01-2010 12:52
How can you add more rom space to the cRIO? Comatose FRC Control System 8 05-02-2009 21:16
how far can you ride the ball? PHSmom General Forum 6 18-02-2008 21:41
How do you hook up the camera? SpeakerSilenced Programming 18 16-02-2005 15:00


All times are GMT -5. The time now is 21:58.

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