|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
RoboRio Communication Issues
So a group of 4 guys including myself have been trying to figure out for the last 2 1/2 hours why our RoboRio isn't wanting to communicate with us. I know for a fact that there's an issue with the communication between the RoboRio and the radio itself because of the fact that our Radio LED is displaying nothing. We've tried several different methods in attempt to fix the communication however to no avail. Our PCM, PDP, RoboRio and the 6 Talons SRXs that are being used on our robot are all up to date with their firmware along with re-imaging the RoboRio 3 times. As of right now, my team is currently stumped and I on behalf of them is reaching out to anyone willing to help us come to a solution to this conundrum. Thanks in advance.
|
|
#2
|
|||||
|
|||||
|
Re: RoboRio Communication Issues
|
|
#3
|
||||
|
||||
|
Re: RoboRio Communication Issues
Quote:
2. No, Communications is green while Robot Code is red 3. When communicating over wifi, the yellow LED quickly flashes while the green LED is solid 4. I have done that but when I attempted to connect to the RoboRio via Labview, I would still get the same communication error as to when I remained in 802.3af. 5. Yes the two IPs that it has listed are 10.7.53.95 and 172.22.11.2 |
|
#4
|
|||||
|
|||||
|
Re: RoboRio Communication Issues
From the statuses you've described it sounds like your PC communicates just fine with the roboRIO.
Is it just a problem with LabVIEW that you are describing? Are you attempting to Run from Robot Main? Are you able to use Build Specifications to Build and Run as startup? Is there something else important that I didn't catch from your descriptions? |
|
#5
|
||||
|
||||
|
Re: RoboRio Communication Issues
Quote:
|
|
#6
|
|||||
|
|||||
|
Re: RoboRio Communication Issues
"Run as startup" is the name of the selection in Build Specifications that we normally use to transfer the LabVIEW code that has been built (on the PC) to the roboRIO.
See "Deploying the Code" here and it describes it: http://wpilib.screenstepslive.com/s/...p-test-program If you can ping the roboRIO, then you have basic hardware communication all the way through. If the Communications light is on then the Driver Station is successfully communicating with the FRC code communications task running on the roboRIO. The Robot Code light being red means there is no user program running on the roboRIO for the Communications task to talk to. (Maybe because "Run as startup hasn't been used yet). Nothing will respond until you successfully get your code onto the roboRIO and you get the Robot Code light to turn green. Last edited by Mark McLeod : 04-02-2016 at 21:31. Reason: u |
|
#7
|
||||
|
||||
|
Re: RoboRio Communication Issues
Quote:
|
|
#8
|
||||
|
||||
|
Re: RoboRio Communication Issues
Okay so I've attempted to do what you had defined to me just now and I'm still getting the same issue where LabVIEW will tell me that there's an issue communicating with the RoboRIO but gives me no error code what so ever to work with.
|
|
#9
|
|||||
|
|||||
|
Re: RoboRio Communication Issues
In the LabVIEW project explorer window (the main project window) check the name in parenthesis after "Target" to see if it's correct.
A mistyped team number would be a simple cause for LabVIEW not finding the matching roboRIO. For your team it should read "Target (roboRIO-753-FRC.local)" The other thing to try is to connect the PC directly to the roboRIO using a USB cable and trying to send the LabVIEW code over that path. Last edited by Mark McLeod : 04-02-2016 at 22:06. |
|
#10
|
||||
|
||||
|
Re: RoboRio Communication Issues
The electronics guy and myself spent a couple hours last night trying to figure out the issue and what we discovered was that there was something wrong with the project file that we were using. For some unknown reason, the project was the one causing the problem and I'm still going through the process of trying to retrace my steps to a point of possible origin for the problem. Again thank you for the input it has been quite helpful.
|
|
#11
|
||||
|
||||
|
Re: RoboRio Communication Issues
Quote:
|
|
#12
|
|||||
|
|||||
|
Re: RoboRio Communication Issues
Glad you found out what was causing it.
Good luck! |
|
#13
|
||||
|
||||
|
Re: RoboRio Communication Issues
Quote:
|
|
#14
|
||||
|
||||
|
Re: RoboRio Communication Issues
Quote:
|
|
#15
|
|||
|
|||
|
Re: RoboRio Communication Issues
Try using a USB cable between the laptop and roboRIO. Check that the team number enterer on the DS Setup tab is correct. Also click on the arrow next to this field and see if the robot is listed along with its IP.
If the USB cable doesn't work, in a windows cmd window, type ipconfig and see if the 172.22.11.1 interface shows up. If these things are present and it isn't working, please check the firewall again. Turn it off entirely. If USB works, but ethernet doesn't, please check the laptop's control panel. Drill into the adapter settings and see that the laptop is set for DHCP. Try the ethernet cable directly between the laptop and roboRIO and also try with them plugged into the robot radio. Please report what you see and that will help identify the issue. Greg McKaskle |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|