Go to Post I like the way you are saving weight by cutting out the center of the speed controllers. - jcatt [more]
Home
Go Back   Chief Delphi > Technical > Programming > Java
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 04-07-2011, 08:28 PM
Pmaxm00 Pmaxm00 is offline
Lead Programmer
FRC #2974 (Team WALT)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Marietta, GA
Posts: 17
Pmaxm00 has a spectacular aura aboutPmaxm00 has a spectacular aura about
Saving image from Axis Camera

Is there a way to save images from the Axis Camera on the robot to the hard drive on the driver station? I've been very curious on how to do this, but I can't seem to figure it out properly :\ Any help would be useful. Thanks!
__________________

Impossibility? I accept your challenge.
Reply With Quote
  #2   Spotlight this post!  
Unread 04-07-2011, 08:47 PM
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,547
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Saving image from Axis Camera

The default dashboard does this automatically. Look at the Save DB Images vi. I believe the ZomB dashboard can do it also.
Reply With Quote
  #3   Spotlight this post!  
Unread 04-07-2011, 09:06 PM
Pmaxm00 Pmaxm00 is offline
Lead Programmer
FRC #2974 (Team WALT)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Marietta, GA
Posts: 17
Pmaxm00 has a spectacular aura aboutPmaxm00 has a spectacular aura about
Re: Saving image from Axis Camera

Save DB Images vi? whats that? sorry for not knowing
__________________

Impossibility? I accept your challenge.
Reply With Quote
  #4   Spotlight this post!  
Unread 04-09-2011, 08:10 AM
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: Saving image from Axis Camera

The dashboard is open -- you can write your own, or change the code to the default one.

The default is written in LabVIEW. If you launch LabVIEW, the Getting Started window has a template for robot and for dashboard. Once a second, the dashboard saves one image to a jpg file. This is primarily for calibration samples. It is pretty each to change how many it keeps and how often it saves.

Greg McKaskle
Reply With Quote
  #5   Spotlight this post!  
Unread 04-09-2011, 09:23 AM
byteit101's Avatar
byteit101 byteit101 is offline
WPILib maintainer (WPI)
AKA: Patrick Plenefisch
no team (The Cat Attack (Formerly))
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Worcester
Posts: 699
byteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of lightbyteit101 is a glorious beacon of light
Re: Saving image from Axis Camera

Quote:
Originally Posted by Joe Ross View Post
I believe the ZomB dashboard can do it also.
Indeed it does, the image control (the eye in the toolbox) can save videos, right click it and say start saving, then later right click it and hit stop saving, or you can use triggers: add a Cmd button, select triggers, and guess and check on the control name, the second box should be StartSaving, or StopSaving. Our dashboard had some really nice videos (more to come soon).
It saves to C:\Program Files\ZomB\data as WebM videos (use ffmpeg or VLC to play/convert (both are installed with ZomB), open command prompt and enter this command to convert: ffmpeg -i "C:\Path\To\Capture.webm" -qscale 10 -an "C:\path\to\output.avi"
note the avi can be almost any video format, mp4, wmv, mov, etc...)
__________________
Bubble Wrap: programmers rewards
Watchdog.Kill();
printf("Watchdog is Dead, Celebrate!");
How to make a self aware robot: while (∞) cout<<(sqrt(-∞)/-0);
Previously FRC 451 (The Cat Attack)
Now part of the class of 2016 at WPI & helping on WPILib
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


All times are GMT -5. The time now is 08:30 AM.

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