Thread: DS reliability
View Single Post
  #1   Spotlight this post!  
Unread 07-07-2010, 21:49
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
DS reliability

I'm doing some tests on the reliability of the Driver Station. The first one logs the timing jitter of the DS packets.
Jitter is the uncontrolled variation in a timing source. The Driver Station sends a packet every 40ms. If it did this with complete reliability, it would have zero jitter. Here's a graph of how often the robot receives a packet from the DS.

This test took place over about 5 hours and 30 minutes.

The VI I'm using is a modified Robot Main, which you should be able to pull into any normal LabVIEW FRC Robot Project and run. It logs to a file called "jitter.txt" in the main directory of the cRIO. You can look at the data manually, or you can use the attached "extract jitter data.vi" to make a graph like above.

The reason for testing this with a direct ethernet connection is to use as a baseline for a similar test done over wireless, to then test the reliability of the wireless connection. Many of us have seen robots stop dead on the field, so I'm initiating some testing to aid in troubleshooting and diagnostics. The issue is commonly blamed on the placement of the robot radio or the quality of ethernet cables, but I've seen no testing to back this up.
Here's a general idea of what I'm trying to answer:
  • What is the reliability of each point of the control system, from the joystick to the Jaguar?
  • What external factors affect the reliability of the control system?
  • How can these factors be measured and controlled?
Attached Files
File Type: vi Robot Main 2.vi (27.0 KB, 98 views)
File Type: vi extract jitter data.vi (10.1 KB, 98 views)
File Type: zip jitter.txt.zip (398.7 KB, 97 views)
__________________
-- Marshal Horn

Last edited by kamocat : 07-07-2010 at 22:04.
Reply With Quote