View Single Post
  #1   Spotlight this post!  
Unread 11-02-2013, 07:38
kenfox kenfox is offline
Registered User
FRC #3322 (Eagle Imperium)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Ann Arbor, MI
Posts: 51
kenfox is a glorious beacon of lightkenfox is a glorious beacon of lightkenfox is a glorious beacon of lightkenfox is a glorious beacon of lightkenfox is a glorious beacon of light
How to verify code runs under the FMS?

This came up in a thread about writing a text file on the cRIO and I didn't want to derail that conversation. I'm really curious about how teams test their custom network code under FMS-like conditions. Does everybody just do a code review, maybe watch it with a traffic sniffer, and then pray?

Quote:
Originally Posted by RufflesRidge View Post
If it utilizes the available ports listed in R59 I can't imagine why it wouldn't work. Have you had something designed to use one of those ports not work when connected to the FMS?
The rules are clear and the FMS white paper is excellent, but I can imagine lots of ways a custom communication scheme could break. The most likely problem is accidental violation of the rules that a team doesn't catch until they run on the FMS. Other problems are UDP fragmentation, reordering, higher latency, or lower bandwidth.

My advice was to stick with the provided tools until that doesn't work.

How do you verify something works on the FMS?