|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||||
|
|||||
|
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? Last edited by Mark McLeod : 28-01-2017 at 19:31. |
|
#2
|
|||
|
|||
|
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!
|
|
#3
|
|||||
|
|||||
|
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. Last edited by Mark McLeod : 04-02-2017 at 15:56. |
|
#4
|
|||
|
|||
|
Re: Robot OM5P-AN radio will not connect to computer
Isn't it roborio-1492-frc.local?
|
|
#5
|
|||||
|
|||||
|
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. Last edited by Mark McLeod : 04-02-2017 at 15:25. |
|
#6
|
|||||
|
|||||
|
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.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|