Go to Post They're pigs, Barry, pigs. And they can fly... - JaneYoung [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 20-03-2016, 20:11
3a11 3a11 is offline
Registered User
FRC #0217
 
Join Date: Mar 2015
Location: Michigan
Posts: 23
3a11 is an unknown quantity at this point
Vision Processing can't send data over FMS

This year our team chose to implement vision processing, and after much discussion we decided on using RoboRealm (which uses network tables for communication) with a Winbook TW700. The Winbook is connected to the robot via a USB hub and a USB to Ethernet adapter. We got everything working fantastically at our workplace and in pits at competition, but for some reason it doesn’t want to work on the FMS.

We currently believe it is a networking issue and has something to do with the FMS assigning addresses, thus putting the RoboRio and Winbook on separate networks. Unfortunately, we were unable to fully flesh out a solution for this at our last competition and obviously do not have access to an FMS before our next one.

Our current solution plan involves setting everything to static IP's and is outlined here:

Rio:
IP=10.2.17.2
subnet=255.255.255.0
gateway=10.2.17.1
(Plugged into 18-24v port on radio.)

Driver station:
IP=10.2.17.5
subnet=255.0.0.0

Coprocessor:
IP=10.2.17.19
subnet=255.255.255.0
gateway=10.2.17.1
(Plugged into other port on the radio.)

We would like to know if this seems like a suitable next step and what others would recommend as another course of action. Also, we are wondering if any other teams have run into this issue before and solved it. Really any help would be greatly appreciated going forward. Also, if anything outlined above would mess with communications to the FMS please let us know.

Thank you in advance,

Team 217: The ThunderChickens

Last edited by 3a11 : 20-03-2016 at 20:25.
Reply With Quote
  #2   Spotlight this post!  
Unread 20-03-2016, 21:14
AWoL's Avatar
AWoL AWoL is offline
Lvl. 225 Dark Code Mage (Java Type)
AKA: Adam Wolnikowski
FRC #0225 (TechFire)
Team Role: Programmer
 
Join Date: Mar 2014
Rookie Year: 2014
Location: York, Pennsylvania
Posts: 116
AWoL has a reputation beyond reputeAWoL has a reputation beyond reputeAWoL has a reputation beyond reputeAWoL has a reputation beyond reputeAWoL has a reputation beyond reputeAWoL has a reputation beyond reputeAWoL has a reputation beyond reputeAWoL has a reputation beyond reputeAWoL has a reputation beyond reputeAWoL has a reputation beyond reputeAWoL has a reputation beyond repute
Re: Vision Processing can't send data over FMS

At our district event this weekend I had the same problem our first couple of matches but then I heard about the mDNS issue with NetworkTables and switched everything to static IP addresses, and that worked. I used the standard IP scheme from 2014, with the driver station on 10.2.25.10 and the roboRIO on 10.2.25.2, as well as our IP camera on 10.2.25.11. I put everything on the 255.0.0.0 subnet, and I believe that may be a requirement as I helped a team next to us in the pits that couldn't connect to their camera when it was on the 255.255.255.0 subnet, but could on the 255.0.0.0 subnet. As for the default gateway, I just left it blank on everything, as I didn't need it in my case; depending on your coprocessor setup, you might.
__________________
2016 Competition Results (Co-captain, Driver, and Lead Programmer; Junior)
Springside-Chestnut Hill District Event - WINNER / #2 Seed, #1 Seed's First Pick / Gracious Professionalism Award
Westtown District Event - WINNER / #1 Seed / Industrial Design Award
MAR District Championship - WINNER / #1 Seed / Industrial Design Award / Dean's List Finalist Award (Me)
World Championship, Carson Subdivision - QUARTERFINALIST / #3 Seed, #2 Seed's First Pick
Indiana Robotics Invitational - FINALIST / #14 Seed, #2 Seed's Second Pick

Last edited by AWoL : 20-03-2016 at 21:15. Reason: grammar
Reply With Quote
  #3   Spotlight this post!  
Unread 20-03-2016, 21:48
mwtidd's Avatar
mwtidd mwtidd is offline
Registered User
AKA: mike
FRC #0319 (Big Bad Bob)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 2003
Location: Boston, MA
Posts: 714
mwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond reputemwtidd has a reputation beyond repute
Re: Vision Processing can't send data over FMS

You definitely want to switch to use static IPs, that's a good starting point.

Please read this post:

http://www.chiefdelphi.com/forums/sh...3&postcount=16

I will not be able to 100% confirm it works until UNH this weekend, but I suspect you will see further issues if you use those gateways.

At the events, the gateway doesn't exist until you connect to the field. So in the pits, it doesn't attempt to route packets through the gateway. That being said on the field the gateway does exist, and as such packets are routed through that gateway rather than following the most direct path. It is my belief this causes the delays you see because of the way the FMS handles packets. We were seeing a 2 - 3 second delay with traffic that should have remained local in our case.

Basically I was where you're at after week zero, and now after Reading, I think I'm getting closer to a stable off-board setup.
__________________
"Never let your schooling interfere with your education" -Mark Twain

Last edited by mwtidd : 20-03-2016 at 21:57.
Reply With Quote
Reply


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 09:45.

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