|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Logging
so you want a live diagnostic?
|
|
#2
|
|||
|
|||
|
Re: Logging
You can see an example of recording and saving a timestamp to a file with the autoflex code i posted a few threads back. You might want to save it to an XML file like i did in v1.0 (a few more threads back) so that it is easily readable.
|
|
#3
|
||||
|
||||
|
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. |
|
#4
|
|||||
|
|||||
|
Re: Logging
I disagree. If you use a light source of appropriate brightness and color, the target detection is spot on.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|