Go to Post Screws come even smaller, #0000 - 160 at Small Parts.They're about $4 each, and made by elves. - DonRotolo [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 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?
  #2   Spotlight this post!  
Unread 11-02-2013, 08:44
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,801
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: How to verify code runs under the FMS?

Practice Day on the real field at the event is the most important and accurate testing you can do, and the practice field will not have the same setup as the real field.

The FRC Bridge Configuration Utility sets up the DLink to emulate at home the 7Mb/s bandwidth limitation of the field, as well as the Quality of Service prioritization of command packets over video or other user data packets.

The port and VPN restrictions can be checked through Wireshark, but it's possible to misunderstand or miss restricting violations visually, so the real field is the best teacher.

Things teams take for granted at home, like running Netconsole, won't work on the real field because the port is blocked.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
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


All times are GMT -5. The time now is 02:14.

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