Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   Strange C++ Update Error (http://www.chiefdelphi.com/forums/showthread.php?t=115065)

eaglesfan51520 16-03-2013 15:49

Strange C++ Update Error
 
We are having issues with the new C++ Updates. The issue is only present while we are connected to the robot over Wi-Fi. The issue is about every 5 seconds or so a momentary dropout occurs(Robot Code Flashes Red for an instant on DS). We believe it is in the library because we recompiled our old code which did not have the issue with the new libraries and the error occured. We have been able to replicate this error on 3 different cRio(one of them being an 8-slot), both versions of the Router(Revision A and B), and also changed out all the Ethernet cables to make sure they were not causing it.

Quick Notes About Our Setup:
No Dashboard Used(Configured to Remote Dashboard in DS)
No Network Tables Calls in Code
Routers Configured Using FRC Bridge Utility to be 2.4GHz
CANJaguars controlled by 2CAN 2.0(All latest firmware IFI Jags)

Any other teams have this issues?

Jefferson 16-03-2013 18:18

Re: Strange C++ Update Error
 
We were having this exact issue during the build season. We traced it back to the Rev A router. Once we switched to the Rev B router, we didn't see it again.
Double check that it does happen on the Rev B router.

eaglesfan51520 16-03-2013 18:25

Re: Strange C++ Update Error
 
It was happening on both versions because I remember that the Revision B router would experience dropouts around every 5 seconds for half a second while the Revision A would dropout for about 30 seconds.

Also I would like to note that is when we first turned on the robot everything was fine. Then after about five minutes of testing(no changes) the error started happening.

Jefferson 16-03-2013 21:15

Re: Strange C++ Update Error
 
What mode are you in? Bridge or AP?

eaglesfan51520 16-03-2013 21:17

Re: Strange C++ Update Error
 
The Switch on the Radio is in the AP 2.4GHz position.

Jefferson 16-03-2013 21:43

Re: Strange C++ Update Error
 
We run in bridge mode. Might be worth setting up another router and trying it in bridge mode. That is how you will run at the competition.

RufflesRidge 16-03-2013 22:27

Re: Strange C++ Update Error
 
Do you get any output on NetConsole when the dropouts occur?

Alan Anderson 17-03-2013 13:17

Re: Strange C++ Update Error
 
The code does not know, nor does it care, whether you are using a tethered or a wireless connection. Your 30-second dropout suggests an issue with the power to the router. I've watched a Rev B router survive very brief interruptions in power -- the blue lights flicker out for a moment then come back on, and on a tethered connection nothing seems to go wrong, but the team was definitely losing connectivity at times on the field.

eaglesfan51520 17-03-2013 14:29

Re: Strange C++ Update Error
 
Thanks Jefferson, we switched into bridge mode with another router and the issue got resolved.

eaglesfan51520 17-03-2013 14:32

Re: Strange C++ Update Error
 
Alan we do not believe the the issue is with power. We watched the lights on both routers and on the Revision A when the dropout occurred, the only thing we saw from the router is the cRIO Ethernet light go out momentary. Also the issue was consistent across two different robots, multiple power supplies, and cRIOs.


All times are GMT -5. The time now is 12:41.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi