|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
RoboRealm not connecting to the RoboRio
So, we're using RoboRealm for our offseason event, and we're having some issues. Namely. the camera isn't connecting to the Rio. The attached photo is what we get. It's worth noting, that isn't from our camera. Here is our code. If anyone who has used RoboRealm with C++ can help, that would be great. We don't have a clue what we did wrong.
|
|
#2
|
||||
|
||||
|
Re: RoboRealm not connecting to the RoboRio
We had trouble with RoboRealm earlier in the year and it was a port problem...not sure if that was your issue. My understanding is that the field control system is persnickety about the ports used. That's all I've got...good luck. We're doing a lot with vision this off-season, trying to alleviate some of the issues we've contended with recently. We're going to create a field control system to test our bot on so we won't be surprised at competition when our video disappears...
|
|
#3
|
||||
|
||||
|
Re: RoboRealm not connecting to the RoboRio
Yes, the FMS will only allow you to use certain ports. These are in the manual, rule R60:
Quote:
|
|
#4
|
|||
|
|||
|
Re: RoboRealm not connecting to the RoboRio
So, we have the camera connected through the Rio and all, but we can't get RoboRealm to connect. We've never used it before, so we don't know what we did wrong. I set up the NetworkTables and all that, but we can't get RoboRealm to connect to the Rio. It works fine when the camera is connected to the Laptop.
|
|
#5
|
|||
|
|||
|
Re: RoboRealm not connecting to the RoboRio
In our experience last year we think we have had problems with Network tables on roborealm. The values were being updated but in the driver station we were frequently spammed with new clients connecting to the RIO, and behavior was often very difficult to predict.
We later changed transitioned to communicating to the RIO via a TCP socket, and I would recommend at least trying it out using one of the allowed ports above. It was a lot easier than I expected and the roborealm tcp tool was very helpful for debugging. Afterwards behavior seemed better but we are still not completely sure if it solved our problem. Last edited by Tyler Scheuble : 01-07-2016 at 20:43. |
|
#6
|
||||
|
||||
|
Re: RoboRealm not connecting to the RoboRio
Tyler: how did your Network Tables problems manifest themselves?
We're seeing that RoboRealm seems to keep disconnecting at what appears to be random times (we can see the messages in RoboRealm). A restart of the roboRIO fixes things for a while. We also see some protocol error messages in RoboRealm. We're *this* close to following your lead, scrapping the Network Tables module, and running straight TCP. Wish RoboRealm did UDP.... |
|
#7
|
|||
|
|||
|
Re: RoboRealm not connecting to the RoboRio
Quote:
These problems seemed to happen at random which made them difficult to reproduce. Last edited by Tyler Scheuble : 02-07-2016 at 16:51. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|