Go to Post I urge them to build the kitbot and repeateadly smash it into a concrete wall in order to sate their anger. It will soon wane when they manage to do more damage to the wall than to the kitbot. That is honestly the reason that we ended up using the kitframe this year. - Andrew Blair [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 28-01-2017, 18:33
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,906
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: Robot OM5P-AN radio will not connect to computer

How is the first time each day defined?
Fresh boot of laptop + fresh boot of robot at the same time and it works again, or it works once every 24 hours?

Does rebooting the PC make it all work again?
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 28-01-2017 at 19:31.
Reply With Quote
  #2   Spotlight this post!  
Unread 04-02-2017, 14:29
KerbalsRock KerbalsRock is offline
Registered User
FRC #1452
 
Join Date: Jan 2017
Location: Los Angeles
Posts: 2
KerbalsRock is an unknown quantity at this point
Re: Robot OM5P-AN radio will not connect to computer

So we figured out what it's doing and we can get it to work, but we're not exactly sure why. The radio assigns itself the IP of either 10.14.52.39 or 10.14.52.105, which we can find with ipconfig in Windows command prompt. The roboRIO is assigned the IP of either 10.14.52.40 or 10.14.52.106, which we think is because the radio gives it the next one up after its own address. Typing the roboRIO IP into driverstation or web dashboard allows us to connect to them, so we can use both perfectly well. Our only question now is what exactly determines whether the roboRIO is given the 40 or 106 IP, because so far as we can determine it's completely random and unrelated to whether ipconfig gives 39 or 105 for the radio. It's not a huge concern, as we can just try both very easily and it nearly always stays the same while the robot is on, but we did have one test where the IP actually switched from 106 to 40 about 3 seconds after we connected to 106, which would obviously be a problem if it occurred during competition. Any ideas on what could be causing this? Thanks!
Reply With Quote
  #3   Spotlight this post!  
Unread 04-02-2017, 14:42
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,906
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: Robot OM5P-AN radio will not connect to computer

It's called DHCP (Dynamic Host Configuration Protocol).
It's the dynamic part of it that's moving the IP assignments around.
It means IPs are assigned and they can be different all the time, but devices like PCs and roboRIOs can add-in or drop out at any time.

Instead of using IP addresses, you should be using DNS names, but you probably have a DNS suffix problem.
As a test try typing this name into the Driver Station in place of the IP address you have been using:
- roboRIO-1452-FRC.frc-robot.local

If that works, then I have something else for you to experiment with to fix your issue.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 04-02-2017 at 15:56.
Reply With Quote
  #4   Spotlight this post!  
Unread 04-02-2017, 15:17
simpsonboy77 simpsonboy77 is offline
Registered User
AKA: Garrett Dicken
FRC #0041 (RoboWarriors)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2005
Location: New Jersey
Posts: 91
simpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond reputesimpsonboy77 has a reputation beyond repute
Re: Robot OM5P-AN radio will not connect to computer

Quote:
Originally Posted by Mark McLeod View Post
As a test try typing this name into the Driver Station in place of the IP address you have been using:
- roboRIO-1452-FRC.frc-robot.local
Isn't it roborio-1492-frc.local?
__________________
2017 Shenzhen, China Regional CSA
2013 - Present MAR Control System Adviser and FTAA
2009 - Present Programming an Electrical Mentor Team 41
2007 - 2008 Team 41 Lead Programmer, Electrical
2005 - 2008 Team 41 Member
2008 NYC Regional Winner
Reply With Quote
  #5   Spotlight this post!  
Unread 04-02-2017, 15:17
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,906
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: Robot OM5P-AN radio will not connect to computer

Sometimes, but if it is then the Driver Station shouldn't have problems finding it.
There is sometimes a spurious ".frc-robot." thrown into the middle.
There is an easy solution if this is the case here, but I'd like to confirm the issue, before going through that.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 04-02-2017 at 15:25.
Reply With Quote
  #6   Spotlight this post!  
Unread 04-02-2017, 16:46
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,906
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: Robot OM5P-AN radio will not connect to computer

In fact try typing roboRIO-1452-frc as a web browser address to see if it gets to the roboRIO.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
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 11:11.

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