Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   General Forum (http://www.chiefdelphi.com/forums/forumdisplay.php?f=16)
-   -   Help??? Saving Last Recorded Data (http://www.chiefdelphi.com/forums/showthread.php?t=102653)

Vikingtech2054 12-02-2012 17:44

Help??? Saving Last Recorded Data
 
Does anybody know how to save the last fed data from the camera, when our shooter turns on the camera losses track of the target, so we were wondering if there is a way to save the distance when the camera last sees the target, our team is in need of some help, please.

MAldridge 12-02-2012 21:25

Re: Help??? Saving Last Recorded Data
 
Some questions:
  • What language?
  • What Camera?
  • Are you processing on the robot, or the DS?

I'll post back with some ideas as soon as you can get some more concrete info. Although, your camera shouldn't be shutting off when the shooter comes on, as the PDB can easily source that much current from a good battery...

Vikingtech2054 13-02-2012 11:06

Re: Help??? Saving Last Recorded Data
 
Quote:

Originally Posted by MAldridge (Post 1125335)
Some questions:
  • What language?
  • What Camera?
  • Are you processing on the robot, or the DS?

I'll post back with some ideas as soon as you can get some more concrete info. Although, your camera shouldn't be shutting off when the shooter comes on, as the PDB can easily source that much current from a good battery...

our camera isnt shutting off its when we turn our shooter on the robot shakes and the camera losses track of the target, it doesnt shut off, we have the m1011 axis camera using it with the labview frc control system, we were wondering if we could save the distance value to tell the shooter how fast to shoot. we are doing the processing on the crio

MAldridge 13-02-2012 19:35

Re: Help??? Saving Last Recorded Data
 
you don't want to save the image, rather you want to latch the array that comes out of the processing VI while the shooter is running. just put a while loop out to the right of your main vision loop to latch the value into a shift register whenever you turn on your shooter.


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

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