![]() |
Why does RobotPy take longer to deploy?
Hi,
I was curious why this year's version of RobotPy takes about a minute and a half longer to deploy to our robot? This is a relatively minor issue, but I liked when I could deploy code to the robot in about 10-15 seconds. I even deployed during a practice match once last year and I still had plenty of time to play. The part that seems to take the longest is connecting to the Rio and finding out the versions. Is it because of the new mDNS stuff? Again, this is a minor issue, but I was wondering what changed to make the deploy process longer? |
Re: Why does RobotPy take longer to deploy?
If your computer cannot resolve the mDNS name correctly, then you would have similar issues in Java or C++, as they all use the same underlying mechanism to resolve the mDNS name.
A similar issue was reported at https://github.com/robotpy/pyfrc/issues/42, and that user was able to resolve their issue by reflashing the firmware on their OM5P-AN. |
Re: Why does RobotPy take longer to deploy?
A minute and a half? Thats just obnoxious... I had 30sec deploy times and I still didn't like it..
I followed this tutorial to flash the router. I also realized, after doing that, that theres a "download firmware" button on the program thats used to assign team numbers to routers. Can't speak for its efficiency since I haven't used it, though. Before going down this route, though, answer this question- is you're code stalling right between "Robot code deploying" (or whatever) and "WPILib version on robot is 2016.0.0"? Or is there a consistent 5-10sec delay between EVERY step. (If the former, there might also be a long delay near the end, but I'm not sure what debug lines it is between). The former is the issue that was resolved with the reflashing of the router. The latter is probably an issue with the CPU on the programming laptop. |
Re: Why does RobotPy take longer to deploy?
4480, were you able to resolve your issue?
I'm sitting down with a roborio and the router finally, and I'm having a similar issue. I did reflash the router, and I can confirm that it's definitely a DNS issue (at least, on my mac it is):
Examining the tcpdump output, it looks like this is happening:
Here's the raw tcpdump output for those interested: Code:
OSX Computer is 10.24.23.143 |
Re: Why does RobotPy take longer to deploy?
Oddly enough, I also noticed that there seem to be 2 DHCP pools on the router, and so the robot ends up with a different broadcast IP than what my computer gets, so I cannot receive netconsole output (at least, not on OSX).
|
Re: Why does RobotPy take longer to deploy?
Quote:
Even when trying to load the web interface it seems to take longer and sometimes fails to load. |
Re: Why does RobotPy take longer to deploy?
Quote:
Quote:
|
| All times are GMT -5. The time now is 19:49. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi