Go to Post Do not under estimate the wood bots and brave little toasters! - hipsterjr [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
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 18-01-2017, 12:28
johnhenry johnhenry is offline
Registered User
FRC #3851
 
Join Date: Jan 2017
Location: California
Posts: 7
johnhenry is an unknown quantity at this point
Driver station has no robot communication

we are not a rookie team, but we have been out of completion for a couple of years. We started out with a brand new control system this year. We have upgraded firmware and imaged the PDM, roboRIO, PCM, and the radio. After wiring everything up all system status lights appear as they should be. We created a test program via Robot Builder and downloaded that to the roboRIO successfully. When we start the Driver Station with an Ethernet tether we get NO ROBOT COMMUNICATION message. We can ping the robot via Ethernet and USB cables. We can get into the Web Dashboard of the roboRIO via USB and all addresses appear correctly.

What are we missing???
Reply With Quote
  #2   Spotlight this post!  
Unread 18-01-2017, 12:37
rich2202 rich2202 is offline
Registered User
FRC #2202 (BEAST Robotics)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Wisconsin
Posts: 1,279
rich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond reputerich2202 has a reputation beyond repute
Re: Driver station has no robot communication

What are the IP Address of:

1) RoboRio
2) Radio
3) Driver station

Is your team number displaying correctly on the Driver Station?
__________________

Reply With Quote
  #3   Spotlight this post!  
Unread 18-01-2017, 12:58
johnhenry johnhenry is offline
Registered User
FRC #3851
 
Join Date: Jan 2017
Location: California
Posts: 7
johnhenry is an unknown quantity at this point
Re: Driver station has no robot communication

RoboRio - 10.38.51.34
Driver Station 10.38.51.70
Radio not sure.


The team number is in the driver station and it recognizes local PC power and joysticks, just not the robot. It gives some warnings, I don't have a copy with me, that says some connections are bad, but some are good, so it appears like it is trying.
Reply With Quote
  #4   Spotlight this post!  
Unread 18-01-2017, 13:03
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,926
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: Driver station has no robot communication

Disable your Windows firewall (Disable McAfee type firewall management tools)
Disable any anti-virus
Disable the network connections you aren't using.

Once you get it working you can add these back in one-by-one to see what was causing the problem.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 18-01-2017 at 13:16.
Reply With Quote
  #5   Spotlight this post!  
Unread 18-01-2017, 13:25
johnhenry johnhenry is offline
Registered User
FRC #3851
 
Join Date: Jan 2017
Location: California
Posts: 7
johnhenry is an unknown quantity at this point
Re: Driver station has no robot communication

I'm pretty sure I've disabled everything listed, but I'll try again. Does the robot code need anything in it to get things rolling? We are just using a basic shell created by Robot Builder. I've also tried some of the sample programs, but always end up with the same results.
Reply With Quote
  #6   Spotlight this post!  
Unread 18-01-2017, 13:32
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,926
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: Driver station has no robot communication

If you don't have user code or if your user code crashes, then you still should see the Driver Station Communications indicator go green (and the Robot Code indicator stay red).

If you can get that far (Communications=green) then you can worry about your user code.

Your IPs are fine (the radio IP doesn't matter-it's just routing if it's even in the network chain).
Check the diagnostic tab to see it the Driver Station is also pinging everything.
Attached Thumbnails
Click image for larger version

Name:	DS-NoRobotCode.jpg
Views:	27
Size:	35.4 KB
ID:	21574  
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 18-01-2017 at 13:40.
Reply With Quote
  #7   Spotlight this post!  
Unread 18-01-2017, 14:02
johnhenry johnhenry is offline
Registered User
FRC #3851
 
Join Date: Jan 2017
Location: California
Posts: 7
johnhenry is an unknown quantity at this point
Re: Driver station has no robot communication

I get the same green lights as shown and when I plug in the USB cable the eNet Link light turns on as well. I didn't realize I can add pictures. I will get some of those and post them this evening.
Reply With Quote
  #8   Spotlight this post!  
Unread 18-01-2017, 14:18
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,926
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: Driver station has no robot communication

If your Communications light is on then it's just a user code (or a code downloading) problem.
Networking sounds fine.

What language are you using?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 18-01-2017 at 14:22.
Reply With Quote
  #9   Spotlight this post!  
Unread 18-01-2017, 16:06
johnhenry johnhenry is offline
Registered User
FRC #3851
 
Join Date: Jan 2017
Location: California
Posts: 7
johnhenry is an unknown quantity at this point
Re: Driver station has no robot communication

I'm using Java. I guess we have a terminology issue on Communications. I have the two green lights for Robot Radio and Robot, but the lights for Communications and Robot Code under the battery level are both red.
Reply With Quote
  #10   Spotlight this post!  
Unread 18-01-2017, 16:16
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,926
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: Driver station has no robot communication

Just an aside, but did you put the Java runtime onto the roboRIO?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #11   Spotlight this post!  
Unread 18-01-2017, 16:59
johnhenry johnhenry is offline
Registered User
FRC #3851
 
Join Date: Jan 2017
Location: California
Posts: 7
johnhenry is an unknown quantity at this point
Re: Driver station has no robot communication

Yes. Figured that one out after a different series of error messages. I think it was when I was trying to install the software the first time after getting the image installed on the roboRIO. Seems imaging removes the JRE. Been learning a lot, but need one more detail hidden somewhere.
Reply With Quote
  #12   Spotlight this post!  
Unread 18-01-2017, 22:45
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,926
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: Driver station has no robot communication

So, the Communications light is red.

That's odd since the pings (in the section labeled "Communications" ) are communicating through the network just fine.

The Communications light should come on regardless of the language you are using, as long as the roboRIO operating system is running.
In fact, if you want to eliminate Java altogether as a cause you can reformat the roboRIO, but don't do anything else (no java runtime/no user code), and the Communications light should be green if the network is connecting.

If that's the case, I'd suggest connecting the PC only via USB, Disable all other NICs, stop/start the Driver Station to see if it makes the connection over USB (the simplest path).
If it still doesn't give a green Communications light, then look at the team number field on the Driver Station and use the downward arrow beside the team number to see if anything is listed there.
If nothing is listed try typing 172.22.11.2 into the team number field.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 18-01-2017 at 22:52.
Reply With Quote
  #13   Spotlight this post!  
Unread 18-01-2017, 23:17
Bkeeneykid's Avatar
Bkeeneykid Bkeeneykid is offline
#wheatcoastneatcoast
AKA: Devin Keeney
FRC #1982 (Cougar Robotics); Season Long Fantasy FIRST (F3)
Team Role: Leadership
 
Join Date: Feb 2015
Rookie Year: 2015
Location: Lenexa, Kansas
Posts: 368
Bkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud of
Re: Driver station has no robot communication

As another point to contend with, sometimes windows is just... wierd. Last year we had an issue where we'd connect fine the first time after a restart but all times after that the comms light would be red. We'd restart and it'd be fine. This was the one laptop out of three that we upgraded to win10, and because of that didn't upgrade any of the others. If in doubt, restart.
__________________

F4 Network Website Designer

2010-2012: A Whole Buncha FLL Teams; Team Spirit, Gracious Professionalism Award winner
2015-Current: FRC 1982, Captain, Electrical Lead
Beginning FIRST Volunteer

Moderator on the FIRSTwiki
Reply With Quote
  #14   Spotlight this post!  
Unread 19-01-2017, 00:16
kylelanman's Avatar
kylelanman kylelanman is offline
Programming Mentor
AKA: Kyle
FRC #2481 (Roboteers)
Team Role: Mentor
 
Join Date: Feb 2008
Rookie Year: 2007
Location: Tremont Il
Posts: 191
kylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to allkylelanman is a name known to all
Re: Driver station has no robot communication

We ran into a problem with the same symptoms on Saturday. This is how we solved it.

1. Install latest Firmware on RoboRio
2. Install latest Image on RoboRio
3. Install latest WPI Plugin in Eclipse (Includes WPI Lib).

Rebuild and deploy your project. Our problem seemed to be we initially only did step 1 above.

Hope this helps.
__________________
"May the coms be with you"

Is this a "programming error" or a "programmer error"?


Last edited by kylelanman : 19-01-2017 at 00:16. Reason: Spelling
Reply With Quote
  #15   Spotlight this post!  
Unread 19-01-2017, 08:59
johnhenry johnhenry is offline
Registered User
FRC #3851
 
Join Date: Jan 2017
Location: California
Posts: 7
johnhenry is an unknown quantity at this point
Re: Driver station has no robot communication

Thank you everyone. It's working. An odd thing, but it seemed to make a difference. The conversation lead me to think about security and the only thing I could think of was when I installed the NI software it asked if I trusted NI. I said no as that is my standard practice when installing software. I reinstalled this time saying yes I trusted it and after the installation the Driver Station hooked right up. Who would have figured. Something was going on under the hood.

Team 3851 Graciously thanks you for all your suggestions and patience. You have saved our build.
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 05:06.

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