Go to Post Now, most of the replies are very tactful when they are questioning a teams' design... but some are simply stupid. Keep your heads. - Andy Baker [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 25-01-2009, 17:33
MiniNerd24's Avatar
MiniNerd24 MiniNerd24 is offline
Are you going to eat that?
FRC #2039 (Rockford Robotics)
Team Role: Programmer
 
Join Date: Dec 2007
Rookie Year: 2006
Location: Illinois
Posts: 375
MiniNerd24 is a jewel in the roughMiniNerd24 is a jewel in the roughMiniNerd24 is a jewel in the roughMiniNerd24 is a jewel in the rough
Saving feedback to a flashdrive

Hi, our team was talking about having our camera relay live feedback of it's view during competition to our website. The day we tested out the camera it lagged so badly doing a 1st person driving test that I crashed into a large object. So I remembered that we used a flashdrive to upload the new DS firmware so i was wondering. Would it work/Would it be FRC legal to have a flashdrive plugged into the DS saving camera feedback (and possibly other feedback) on the flashdrive for later uploading to a webiste or for reviewing purposes?
If someone could help me that'd be great. Thanks in advance!
__________________
The system is down.


Rockford Robotics 2039: Think outside the bots.
  #2   Spotlight this post!  
Unread 25-01-2009, 19:12
whitetiger0990's Avatar
whitetiger0990 whitetiger0990 is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Mar 2006
Rookie Year: 2006
Location: Earth
Posts: 157
whitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of light
Re: Saving feedback to a flashdrive

Nope. Sorry. I wish.

The flashdrive access is reading from the flashdrive, and is only for updating the DS. We don't have access to any writing (or reading) functions for the DS.


Unless I'm horribly mistaken. If you can figure out how to do it without modifying the DS firmware, I'd be interested.
__________________
print$q=chr(ord($q)+$1)while("7443-0201-8465130105-12-03135-82482113-06-7672-070208-0613-70"=~/(-?\d\d)/g);
  #3   Spotlight this post!  
Unread 25-01-2009, 19:31
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Saving feedback to a flashdrive

Quote:
Originally Posted by MiniNerd24 View Post
Hi, our team was talking about having our camera relay live feedback of it's view during competition...
Be aware that the network will be blocking the live camera feedback on the competition field. Whatever you figure out for saving the video will be of no use without it.
  #4   Spotlight this post!  
Unread 25-01-2009, 19:32
Russ Beavis Russ Beavis is offline
Registered User
no team
 
Join Date: Nov 2005
Location: Manchester, NH - DEKA R&D Corp.
Posts: 341
Russ Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond repute
Re: Saving feedback to a flashdrive

Why not write data to the cRIO's solid state "disk"?

Russ
  #5   Spotlight this post!  
Unread 25-01-2009, 20:21
Bongle's Avatar
Bongle Bongle is offline
Registered User
FRC #2702 (REBotics)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Waterloo
Posts: 1,069
Bongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond repute
Send a message via MSN to Bongle
Re: Saving feedback to a flashdrive

Quote:
Originally Posted by Russ Beavis View Post
Why not write data to the cRIO's solid state "disk"?

Russ
We did some tests early in the season when we were tuning our target colours where we saved a couple hundred 160x120 JPGs to the cRio. It took quite a while to save even those tiny images. I think having a thread saving images would greatly hurt your performance in the match.

On the other hand, you could have a button your drivers could press to take a snapshot (frcWriteImage in WindRiver), then maybe collage it with your own video of the match.

And I believe there has always been a rule saying that teams could strap a video camera to their robot for marketing/documentary purposes, though it'd probably be counted in your weight budget.
  #6   Spotlight this post!  
Unread 25-01-2009, 20:36
MiniNerd24's Avatar
MiniNerd24 MiniNerd24 is offline
Are you going to eat that?
FRC #2039 (Rockford Robotics)
Team Role: Programmer
 
Join Date: Dec 2007
Rookie Year: 2006
Location: Illinois
Posts: 375
MiniNerd24 is a jewel in the roughMiniNerd24 is a jewel in the roughMiniNerd24 is a jewel in the roughMiniNerd24 is a jewel in the rough
Re: Saving feedback to a flashdrive

So we it'd be advisable to skip trying to save things to the DS and instead save to the cRio for small things>?
__________________
The system is down.


Rockford Robotics 2039: Think outside the bots.
  #7   Spotlight this post!  
Unread 25-01-2009, 22:02
Russ Beavis Russ Beavis is offline
Registered User
no team
 
Join Date: Nov 2005
Location: Manchester, NH - DEKA R&D Corp.
Posts: 341
Russ Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond reputeRuss Beavis has a reputation beyond repute
Re: Saving feedback to a flashdrive

Since the DS isn't programmable, you're essentially out-of-luck on the driver side (except for twiddling some outputs and using a custom circuit to store data transitions, yuck).

You could have the Dashboard PC record every packet of data sent from the robot. That would be easy but is limited to about 1k bytes at 50 times/sec. Could be very useful but won't be terribly good at storing a video stream.

You should be able to store many megabytes directly in the cRIO but I'm not sure about update rate. Maybe you can store pictures in RAM and dump them to nonvolatile memory later on?

Russ
  #8   Spotlight this post!  
Unread 25-01-2009, 22:08
Daniel_LaFleur's Avatar
Daniel_LaFleur Daniel_LaFleur is offline
Mad Scientist
AKA: Me
FRC #2040 (DERT)
Team Role: Engineer
 
Join Date: Apr 2005
Rookie Year: 2003
Location: Peoria, IL
Posts: 1,972
Daniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond repute
Send a message via MSN to Daniel_LaFleur
Re: Saving feedback to a flashdrive

Quote:
Originally Posted by Alan Anderson View Post
Be aware that the network will be blocking the live camera feedback on the competition field. Whatever you figure out for saving the video will be of no use without it.
Incorrect. See here.

The standard live video ports on layer 3 will be disabled, but the video can be deconstructed, sent in packetized format to the dashboard, and reconstructed.

It will, of course, be horribly delayed and take up much of the cRIOs processor power.

If the OP is just looking to record the match through the 'eyes' of the robot then saving to an onboard system (the cRIOs flash or an external device) would probably be the best bet.
__________________
___________________
"We are not now that strength which in old days moved earth and heaven; that which we are, we are;
One equal temper of heroic hearts, Made weak by time and fate, but strong in will
To strive, to seek, to find, and not to yield. "
- Tennyson, Ulysses
Closed Thread


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
Daylight saving time Vince lau Chit-Chat 10 02-11-2007 14:58
Saving Seats Karthik General Forum 58 05-05-2006 13:04
Inventor Problem w/ saving Pat Roche Inventor 2 14-02-2005 21:36
Saving Pics Jeffel Chit-Chat 9 23-01-2005 13:09
Time Saving Idea archiver 1999 1 23-06-2002 22:19


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

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