Thread: Logging
View Single Post
  #6   Spotlight this post!  
Unread 25-03-2011, 13:04
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,517
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Logging

I'm not sure how siggy did it, but you do have the ability to write text files using the CRIO. We were utilizing this earlier this year to store pictures from the camera for calibration (drive practice match taking pictures at required intervals, etc). We've since removed it because vision this year with the retro-reflective tape is fairly unreliable. But the ability is there.

Create variables (strings or otherwise) that you want stored and tie-in a timestamp from a ms counter in robot main that gets fed into your different loops. I'd save the values in an array and then write 1 time per every couple seconds - no reason to be writing every loop.

PS to FIRST - GIVE US LIT VISION TARGETS BACK.
Reply With Quote