We are experiencing some very strange communications issues between the SmartDashboard and the Robot. I’m at a loss to explain/debug these as the programming/electrical mentor. Has anyone experienced these problems and have a workaround/solution? Searching the site has not revealed any similar symptoms being reported by other teams. I am hoping we are not unique here…
Background: We have a number of Win10 laptops that we use for driverstation control. These are all showing multiple/different/strange issues this year that were not evident last season.
-
At some point, several laptops have developed a situation where they can receive SmartDashboard information, but cannot send info (changes to text boxes, clicking on start/stop buttons, etc have no effect). Some of these develop overnight with the computer being offline the entire time (So I can’t blame Windows Updates). Once present, the issue seems to be permanent. Turning Windows Firewall off entirely does not solve the issue.
-
We use RobotBuilder for the basic skeleton of the robot code, and can use that to auto-generate some buttons to run specific commands from the SmartDashboard. Tonight, we hit a new strange issue: with no change to laptop software, robot code, or OS software overnight, a laptop that we were using the previous evening decided that it could send SOME SmartDashboard buttons to the robot, but others were completely ignored. Furthermore, we use the SendableChooser to select between various autonomous modes, and even if the Sendable was defaulted to a specific routine, that routine would not run when starting autonomous (though it worked fine 24 hours earlier). I am unable to explain why this would stop working. We didn’t even download a new program to the RIO, so the only conceivable change would have to be to the driverstation laptop… which doesn’t have general internet access and was shut down the entire time between our unbag times.
The obvious question is What DID change in those 24 hours? We only made one change to the system between the two unbag periods: We switched from a laptop running GRIP for vision recognition over wireless to the RIO, to our POR plan of a Kangaroo sending this information over an ethernet cable to the RIO. (both systems were hard-cabled to the camera on the robot. yes, we had a laptop strapped to the robot last night). Same info being transmitted, same GRIP config… but different physical computer and different transmission medium. But, if it worked fine over wireless, I’d expect it would work just as well over ethernet. I did not disconnect the Kangaroo from the radio to see if that solved the problem, but that’s the first thing we will try when we are able to unbag the robot in the pits at our competition Wednesday night. I don’t THINK we are exceeding any bandwidth limits simply because it was working ok through the radio 24 hours earlier. Still, it’s the only thing we changed… so it must be relevant. Why it would affect comms from laptop to DS, and why it would only affect SOME smartdashboard buttons… is completely beyond me.
Any thoughts from the FIRST Hive??
Thanks!