Go to Post When is comes down to it, remember what FIRST is really about, it is about those students and helping to inspire them - E3 Robotics Ctr [more]
Home
Go Back   Chief Delphi > Technical > Electrical > CAN
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rating: Thread Rating: 5 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 09-02-2015, 20:48
King Nerd III's Avatar
King Nerd III King Nerd III is offline
Chief Programmer/Head of Autonomous
AKA: Isaac
FRC #1410 (The Kraken)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Denver, CO
Posts: 113
King Nerd III is an unknown quantity at this point
Problem With Talon SRX Enabling

Hello, I am Lord Supreme Programmer at Team 1410, and I need some help with a rather large problem. We are currently testing out our electronics board and we have found that if we connect through USB and enable our robot everything works fine and all of the 14 Talon SRXs change from flashing orange to solid, but when we connect over Wi-Fi and enable the robot only 8 random Talon SRXs will change from flashing to solid, the rest will stay flashing, which is a huge problem. Does anyone else have this problem/does anyone have a way to fix this?
Reply With Quote
  #2   Spotlight this post!  
Unread 09-02-2015, 21:38
ozrien's Avatar
ozrien ozrien is offline
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 521
ozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant futureozrien has a brilliant future
Re: Problem With Talon SRX Enabling

Sounds like a cabling issue that has revealed itself after you started driving it around (on WiFi).

Or the robot is genuinally disabling due to network packet loss. Check the driverstation for packet loss.

Did you update the talons to 1.1 or greater?
Reply With Quote
  #3   Spotlight this post!  
Unread 09-02-2015, 22:22
King Nerd III's Avatar
King Nerd III King Nerd III is offline
Chief Programmer/Head of Autonomous
AKA: Isaac
FRC #1410 (The Kraken)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Denver, CO
Posts: 113
King Nerd III is an unknown quantity at this point
Re: Problem With Talon SRX Enabling

Quote:
Originally Posted by ozrien View Post
Sounds like a cabling issue that has revealed itself after you started driving it around (on WiFi).

Or the robot is genuinally disabling due to network packet loss. Check the driverstation for packet loss.

Did you update the talons to 1.1 or greater?
I don't think it's cabling as we weren't driving around and the wires are soldered to each other. I checked and turns out over WiFi we get 50 to 60% packet loss, which seems abnormally large. Tomorrow we will try switching out Ethernet, router, computer, and a combination of the two. That is a huge amount of loss!
Reply With Quote
  #4   Spotlight this post!  
Unread 09-02-2015, 23:36
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,112
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: Problem With Talon SRX Enabling

Can you post a picture of where you have the D-Link mounted? It's a radio and is susceptible to interference from nearby motors, wires, speed controllers, and switching voltage regulators, as well as simple metal structures.
Reply With Quote
  #5   Spotlight this post!  
Unread 09-02-2015, 23:50
King Nerd III's Avatar
King Nerd III King Nerd III is offline
Chief Programmer/Head of Autonomous
AKA: Isaac
FRC #1410 (The Kraken)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Denver, CO
Posts: 113
King Nerd III is an unknown quantity at this point
Re: Problem With Talon SRX Enabling

Quote:
Originally Posted by Alan Anderson View Post
Can you post a picture of where you have the D-Link mounted? It's a radio and is susceptible to interference from nearby motors, wires, speed controllers, and switching voltage regulators, as well as simple metal structures.
Don't have a picture, but here is diagram. Board is made of aluminum, but I don't think the placement has anything to do with it. We took the router off the board and moved maybe 10 feet to plug into through Ethernet to re-set it and it still had problems.
Attached Thumbnails
Click image for larger version

Name:	diagram.PNG
Views:	56
Size:	350.7 KB
ID:	18257  
Reply With Quote
  #6   Spotlight this post!  
Unread 10-02-2015, 00:42
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,112
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: Problem With Talon SRX Enabling

Quote:
Originally Posted by King Nerd III View Post
Board is made of aluminum, but I don't think the placement has anything to do with it.
Don't you think that maybe putting a radio's antennas up against a large piece of metal would have a negative effect on the radio's operation?

Quote:
We took the router off the board and moved maybe 10 feet to plug into through Ethernet to re-set it and it still had problems.
Do you mean you are still seeing high packet loss when you are using a physical Ethernet connection instead of Wi-Fi?
Reply With Quote
  #7   Spotlight this post!  
Unread 10-02-2015, 00:51
King Nerd III's Avatar
King Nerd III King Nerd III is offline
Chief Programmer/Head of Autonomous
AKA: Isaac
FRC #1410 (The Kraken)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Denver, CO
Posts: 113
King Nerd III is an unknown quantity at this point
Re: Problem With Talon SRX Enabling

Quote:
Originally Posted by Alan Anderson View Post
Don't you think that maybe putting a radio's antennas up against a large piece of metal would have a negative effect on the radio's operation?



Do you mean you are still seeing high packet loss when you are using a physical Ethernet connection instead of Wi-Fi?
Well like I said, we removed it from the board and it still had the problem. We only plugged in through Ethernet to go through set up again, we still tried through WiFi. Also, the router does not directly touch the metal, it has two layers of Velcro and some gaffers tape between the two, even if it did, since when were the antennas exposed on the outside?
Reply With Quote
  #8   Spotlight this post!  
Unread 11-02-2015, 21:12
codedr codedr is offline
Registered User
FRC #0537
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2009
Location: Wisconsin
Posts: 68
codedr will become famous soon enoughcodedr will become famous soon enough
Re: Problem With Talon SRX Enabling

What program language are you using?
What happens if you start with 7 talons enabled and then add one at time and verify that they work?
I didn't see or understand, does using an ethernet cable behave the same as using the usb cable ?

Also, when you switch to wi-fi, make sure you have all the other network inter-faces disabled.
Also, do you have an another wi-fi network interfering with your wireless? You can use a network display tool to see how many wi-fi signals are around you.
Reply With Quote
  #9   Spotlight this post!  
Unread 12-02-2015, 10:55
King Nerd III's Avatar
King Nerd III King Nerd III is offline
Chief Programmer/Head of Autonomous
AKA: Isaac
FRC #1410 (The Kraken)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Denver, CO
Posts: 113
King Nerd III is an unknown quantity at this point
Re: Problem With Talon SRX Enabling

Quote:
Originally Posted by codedr View Post
What program language are you using?
What happens if you start with 7 talons enabled and then add one at time and verify that they work?
I didn't see or understand, does using an ethernet cable behave the same as using the usb cable ?

Also, when you switch to wi-fi, make sure you have all the other network inter-faces disabled.
Also, do you have an another wi-fi network interfering with your wireless? You can use a network display tool to see how many wi-fi signals are around you.
Alright I'm going to answer all the questions you asked so bear with me:
  • We are using C++
  • We have not tried the 7 Talons at a time, but will today (my electrical engineer will hate me for that as they're already soldered)
  • We have not used ethernet as when we first got the roboRIO the electrical team insisted on deploying code and imaging the roboRIO through ethernet, even though we were told not to, so iI have banned connecting directly through ethernet, but we will try
  • We have other network interfaces disabled, but we do have other WiFi networks in the school, but I do not believe that would be the problem as we have never had the problem before.
Reply With Quote
  #10   Spotlight this post!  
Unread 12-02-2015, 11:34
codedr codedr is offline
Registered User
FRC #0537
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2009
Location: Wisconsin
Posts: 68
codedr will become famous soon enoughcodedr will become famous soon enough
Re: Problem With Talon SRX Enabling

When I said disabling the Talons, I meant within the software -- just define a limited set to initialize and use. I did not mean removing them from the electrical connections.
Reply With Quote
  #11   Spotlight this post!  
Unread 12-02-2015, 11:37
MrRoboSteve MrRoboSteve is offline
Mentor
AKA: Steve Peterson
FRC #3081 (Kennedy RoboEagles)
Team Role: Mentor
 
Join Date: Mar 2012
Rookie Year: 2011
Location: Bloomington, MN
Posts: 573
MrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond repute
Re: Problem With Talon SRX Enabling

When you send a picture, please make sure there is a good view of the power wiring between the radio and the VRM.

Please also send a screen shot of the driver station log viewer, showing a run of the robot where you're experiencing the problem.

There's nothing wrong with using Ethernet to program the roboRIO. I do recommend connecting the tether to the radio, rather than directly to the roboRIO, so that when someone trips over the tether it wrecks the cheaper device.
__________________
2016-17 events: 10000 Lakes Regional, Northern Lights Regional, FTC Burnsville Qualifying Tournament

2011 - present · FRC 3081 Kennedy RoboEagles mentor
2013 - present · event volunteer at 10000 Lakes Regional, Northern Lights Regional, North Star Regional, Lake Superior Regional, Minnesota State Tournament, PNW District 4 Glacier Peak, MN FTC, CMP
http://twitter.com/MrRoboSteve · www.linkedin.com/in/speterson
Reply With Quote
  #12   Spotlight this post!  
Unread 12-02-2015, 12:38
Poseidon5817's Avatar
Poseidon5817 Poseidon5817 is offline
"Cool" Squad
AKA: Mitchel Stokes
FRC #5817 (Uni-Rex)
Team Role: Mentor
 
Join Date: Aug 2013
Rookie Year: 2014
Location: Clovis, CA
Posts: 365
Poseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud ofPoseidon5817 has much to be proud of
Re: Problem With Talon SRX Enabling

Have you gone on the webpage for the roboRIO and ID'ed the Talons properly? If you go there and you have less than 14 Talons on your left sidebar, they aren't ID'ed properly. Also try opening the error log while testing.
__________________
My FRC History:

2014 - Team 1671: Central Valley Regional Finalist and Chairman's Award Winner, Sacramento Regional Finalist, Archimedes Quarterfinalist
2015 - Team 1671: Central Valley Regional Semifinalist, Sacramento Regional Semifinalist and Chairman's Award Winner, Newton Winner, Einstein Winner
2016 - Team 5817: Central Valley Regional Finalist and Rookie All-Star, Orange County Regional Quarterfinalist and Rookie All-Star, Newton Division
2017 - Team 5817: Return of the bench grinder


Reply With Quote
  #13   Spotlight this post!  
Unread 12-02-2015, 13:03
King Nerd III's Avatar
King Nerd III King Nerd III is offline
Chief Programmer/Head of Autonomous
AKA: Isaac
FRC #1410 (The Kraken)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Denver, CO
Posts: 113
King Nerd III is an unknown quantity at this point
Re: Problem With Talon SRX Enabling

To the last three posters:
I will do that instead of removing them physically. Pretty sure I just heard my electrical engineer sigh with relief.
Also the problem with using an Ethernet to connect to the roboRIO to deploy code is that if it's the first time connecting drivers will not be automatically installed. I have had this happen multiple times. And, just to be fair, 80% of our deploy problems went away when we switched to USB, so I think it's safe to say USB is the better option.
The picture I sent was a hand drawn screenshot at 2AM, and I am also not an electronics guy, so sorry there is no wiring. I know it is a standard router is plugged into the VRM, I think that's what you called it, through the included power cable that has been cut. For the driver station I do not have a photo right now, but I will tell you that usually we get 70% packet loss for the first 10 seconds or so and then it holds steady around 20% loss. This does not change based on router.
We have ID'ed each Talon properly, many times. If we had any conflicts then they would be flashing red. We should probably try connecting the roboRIO WebDashboard through WiFi, but have not done so yet.
And to all people trying to help, just to be clear: all Talons work when tethered through USB. It is only over WiFi that 6 out of 14 Talons will stay blinking while Teleop is enabled, the other 8 turn solid and will drive.
Thanks for all the help.
Reply With Quote
  #14   Spotlight this post!  
Unread 12-02-2015, 13:46
codedr codedr is offline
Registered User
FRC #0537
Team Role: Mentor
 
Join Date: Mar 2010
Rookie Year: 2009
Location: Wisconsin
Posts: 68
codedr will become famous soon enoughcodedr will become famous soon enough
Re: Problem With Talon SRX Enabling

Your computer should not have to install any drivers to get working with the ethernet. If it does you should install the drivers for your ethernet adapter or get a working usb ethernet dongle.

If you are having issues with your ethernet port, you will need to get them fixed, or you will not be able to control your robot because you will not be able to connect to the field at competition.
Reply With Quote
  #15   Spotlight this post!  
Unread 12-02-2015, 21:33
King Nerd III's Avatar
King Nerd III King Nerd III is offline
Chief Programmer/Head of Autonomous
AKA: Isaac
FRC #1410 (The Kraken)
Team Role: Programmer
 
Join Date: Jan 2014
Rookie Year: 2014
Location: Denver, CO
Posts: 113
King Nerd III is an unknown quantity at this point
Re: Problem With Talon SRX Enabling

Quote:
Originally Posted by codedr View Post
Your computer should not have to install any drivers to get working with the ethernet. If it does you should install the drivers for your ethernet adapter or get a working usb ethernet dongle.

If you are having issues with your ethernet port, you will need to get them fixed, or you will not be able to control your robot because you will not be able to connect to the field at competition.
There are drivers for the roboRIO that need to be installed. They will not install through Ethernet.
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 02:41.

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