|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Driver Station cannot connect to cRio
I'm having a problem where I installed the driver station software on my development computer, but I've had problems with getting it to connect to our cRio sometimes (directly wired, so not a wireless problem).
Last night in particular, it refused to do anything other than say "No Robot Communication" However, it's definitely lying to me. Why do I say that? - I can FTP things back and forth to the robot while it's saying this - Netconsole works, I can see output from the robot. Nothing strange here - Using wireshark, I can see packets going back and forth rapidly to/from the computer - If I click the 'Reboot cRio' button on the driver station software, it works (even though the software warns me that it isn't connected to the cRio, so I will have to physically reboot the cRio) - The 'robot' light in the diagnostics tab turns green for a second or two, then turns off. It also says 'pinging', then stops saying that. - VirtualDS 0.7 can communicate with the cRio and enable/disable it with no problems I reformatted the cRio just in case, and no change. The driver station that I'm using shows version 11.30.11.00, and we're running with the C++ environment. I vaguely remember having this problem before, and then it magically fixed itself when there was a joystick plugged in. Is it a requirement to have a joystick plugged in for the driver station to work? I'll try again tonight to see if that fixes it, as I didn't have a joystick available to me last night. Any further thoughts are welcome. |
|
#2
|
||||
|
||||
|
Re: Driver Station cannot connect to cRio
Quote:
What is the IP address of your computer? The DS expects it to be a .6 address in order to use it as a local Dashboard. An easy to fix for this is to set your team number in the Driver Station or you can manually change the IP address yourself. |
|
#3
|
|||
|
|||
|
Re: Driver Station cannot connect to cRio
Quote:
It sounds like communication may be going from the DS -> the cRIO but the status packets may not be coming back from the cRIO. This would likely be a firewall issue. |
|
#4
|
||||
|
||||
|
Re: Driver Station cannot connect to cRio
Quote:
However, I did try setting the team number in the driver station and telling it to configure the network device. Didn't fix it. Quote:
Also, the Driver Station software asks for administrative rights -- presumably this is because it needs to disable the firewall appropriately. I can try disabling the firewall however, that might fix it. |
|
#5
|
||||
|
||||
|
Re: Driver Station cannot connect to cRio
... just looked at my firewall config, apparently I had the driver station set to be allowed on 'private' networks, and disallowed on 'public' networks. Or something stupid like that... GRR.
Can someone add something to the driver station software to check to see if it's being firewalled so that way it can warn the user? After all, it does ask for administrative privileges. ![]() |
|
#6
|
||||
|
||||
|
Re: Driver Station cannot connect to cRio
It was the firewall. Sigh.
|
|
#7
|
|||
|
|||
|
Re: Driver Station cannot connect to cRio
I'll look into it. The DS calls netsh to request that the firewall allow through various programs, but I suppose it could have forgotten itself, it could be getting an error, etc.
Just a bit more background. The terminology of the Robot Comms is a bit confusing, as it really means that the DS isn't receiving the expected information from the FRC Communications library on the robot. This could be for many reasons, and the diagnostics tab can ping for you and show if that is the issue. Also, the DS IP is not that important for development. After all, it is very convenient to have dev tools on other computers along with a copy of the DS. But I'm pretty sure that the field looks to talk to the DS at 10.te.am.05. Greg McKaskle |
|
#8
|
||||
|
||||
|
Re: Driver Station cannot connect to cRio
the field looks for .6 as of this year, but if using the lite FMS, it looks for .5
|
|
#9
|
|||
|
|||
|
Re: Driver Station cannot connect to cRio
Once again, the DS automatically sets .5 when using the NIC Selection Dialog and that is what the field looks for the DS at.
|
|
#10
|
||||
|
||||
|
Re: Driver Station cannot connect to cRio
Quote:
this is a quote from: http://www.usfirst.org/sites/default/files/uploadedFiles/Robotics_Programs/FRC/Game_and_Season__Info/2012_Assets/Getting%20Started%20with%20the%202012%20FRC%20Cont rol%20System_2.pdf |
|
#11
|
||||
|
||||
|
Re: Driver Station cannot connect to cRio
I apologize, I was misreading the documentation. it is the .5 adress for the classmate. my bad.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|