Go to Post FRC isn't for every school; it takes a lot of drive just to fundraise every year. It is a premium program that requires a premium about of effort to sustain and be successful. And man is it fun to do. - JesseK [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
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 27-01-2012, 23:39
Hebrew Hebrew is offline
Registered User
FRC #4228 (iRobotics)
Team Role: Programmer
 
Join Date: Dec 2011
Rookie Year: 2012
Location: Minnesota
Posts: 84
Hebrew is an unknown quantity at this point
Router Connectivity Poor

Hi,

When we are running our robot wirelessly we continuously run into issues with the router (in AP mode) connecting with the CRio at an efficient pace. (The CRio is connected to the router via ethernet cord) When we push forward the joystick it takes a few seconds for the robot to respond and it keeps losing connection. The wireless card is the only card not disabled and it is only connected to our router. We are running an ethernet cable from Port 2 into the CRio through the router in AP mode.

Are we doing something wrong?

Are there any possible fixes to stop the robot from losing communication?


Thanks.
  #2   Spotlight this post!  
Unread 28-01-2012, 00:35
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Router Connectivity Poor

While control lag can be due to wireless communication problems, it usually is caused by the program on the cRIO trying to do too much. If you can rule out intereference from other wireless networks, I suggest that you focus on the programming.
  #3   Spotlight this post!  
Unread 28-01-2012, 10:21
Hebrew Hebrew is offline
Registered User
FRC #4228 (iRobotics)
Team Role: Programmer
 
Join Date: Dec 2011
Rookie Year: 2012
Location: Minnesota
Posts: 84
Hebrew is an unknown quantity at this point
Re: Router Connectivity Poor

The program that I was using was the default one for testing wirelessly.
  #4   Spotlight this post!  
Unread 28-01-2012, 11:56
Cuog's Avatar
Cuog Cuog is offline
Registered Linux User: 390661
AKA: Alex
FRC #0422
Team Role: Mentor
 
Join Date: Nov 2005
Rookie Year: 2004
Location: Richmond, Virginia
Posts: 852
Cuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond repute
Send a message via AIM to Cuog
Re: Router Connectivity Poor

Try pinging your crio to see what sort of lag you're getting. If its particularly high, you may have a damaged cat5 cable, or router. If you have consistently low response times from the ping test you likely have a software issues either in the driver station or on the robot.
__________________
KK4KQO
http://voltair.us
Too many projects, too little time.
  #5   Spotlight this post!  
Unread 28-01-2012, 12:32
Keyreaper's Avatar
Keyreaper Keyreaper is offline
Keyreaper
AKA: Cyrus Duong
FRC #1710 (Revolution Ravonics)
Team Role: Programmer
 
Join Date: May 2011
Rookie Year: 2011
Location: Olathe
Posts: 140
Keyreaper is an unknown quantity at this point
Re: Router Connectivity Poor

Also try making sure your cRIO, Driver Station, and LabView are all updated to the most recent version. We had a cRIO that was causing lag, but after updating it to match the proper versions of the other software it ran with much less lag.

To ensure that it is in fact the radio or router, try running code directly tethered to the cRIO. And see if the problem still persists.
  #6   Spotlight this post!  
Unread 28-01-2012, 13:05
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 7,011
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Router Connectivity Poor

Also remember that the thingus on the robot is really a radio. If it is mounted near metal, it will be unhappy.
__________________

I am N2IRZ - What's your callsign?
  #7   Spotlight this post!  
Unread 28-01-2012, 14:25
Hebrew Hebrew is offline
Registered User
FRC #4228 (iRobotics)
Team Role: Programmer
 
Join Date: Dec 2011
Rookie Year: 2012
Location: Minnesota
Posts: 84
Hebrew is an unknown quantity at this point
Re: Router Connectivity Poor

Quote:
Originally Posted by DonRotolo View Post
Also remember that the thingus on the robot is really a radio. If it is mounted near metal, it will be unhappy.
That might have been a reason..it is going to be mounted on a 1/4 to 1/8 inch chunk of aluminum and that was what it was on when it was being tested.

The robot was running fine with an ethernet cable to port 2 of the router and port 3 to the CRio.

I will try pinging the CRio on monday.

I also have not updated to the January 23rd update yet which is what I will also try but I thought it was only for the Axis Camera and imaging the CRio, unless that is related somehow.

Thanks.

Last edited by Hebrew : 28-01-2012 at 14:29.
  #8   Spotlight this post!  
Unread 28-01-2012, 16:51
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Router Connectivity Poor

Especially if using LV, be sure to click to the Diagnostics tab of the DS and see if there are errors. Errors drastically slow the cRIO and will cause lag. Finally, be sure to click to the Charts tab of the DS and see what the CPU, round trip time, and dropped packets are. Those measurements will help us to guess at what is causing the lag.

Greg McKaskle
  #9   Spotlight this post!  
Unread 28-01-2012, 17:23
Hebrew Hebrew is offline
Registered User
FRC #4228 (iRobotics)
Team Role: Programmer
 
Join Date: Dec 2011
Rookie Year: 2012
Location: Minnesota
Posts: 84
Hebrew is an unknown quantity at this point
Re: Router Connectivity Poor

The only error I can remember is the axis camera is not found because we do not have it set up yet.
  #10   Spotlight this post!  
Unread 28-01-2012, 20:47
dakaufma dakaufma is offline
Registered User
AKA: David Kaufman
FRC #0449 (Blair Robot Project)
Team Role: Programmer
 
Join Date: Jan 2012
Rookie Year: 2009
Location: Silver Spring
Posts: 28
dakaufma is an unknown quantity at this point
Re: Router Connectivity Poor

Quote:
Originally Posted by Hebrew View Post
The only error I can remember is the axis camera is not found because we do not have it set up yet.
Any unhandled error can slow down your code; if the camera isn't connected/configured (even temporarily) you should disable it in the Begin and Vision VIs. That being said, if your code is working properly with a wired connection then this isn't your main problem.
  #11   Spotlight this post!  
Unread 28-01-2012, 23:33
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,081
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Re: Router Connectivity Poor

Quote:
Originally Posted by DonRotolo View Post
Also remember that the thingus on the robot is really a radio. If it is mounted near metal, it will be unhappy.
And noise generating electronics. OK, they have metal in them, but they are a lot worse when it comes to radio signals. My portable radio has terrible reception near the electronics hub/frame/terminus room at my school.
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

  #12   Spotlight this post!  
Unread 29-01-2012, 10:15
slibert slibert is offline
Software Mentor
AKA: Scott Libert
FRC #2465 (Kauaibots)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2005
Location: Kauai, Hawaii
Posts: 353
slibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud ofslibert has much to be proud of
Re: Router Connectivity Poor

We had a similar problem - until we read the rule that says the router on the robot has to receive power from the REGULATED 12v power supply on the power distribution board. If using the unregulated 12V outputs, the router resets when battery load gets high because voltage drops below the 12-to-5V convertors operating min voltage of 10V....
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:08.

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