View Single Post
  #13   Spotlight this post!  
Unread 27-02-2012, 12:53
rbmj rbmj is offline
Registered User
FRC #0612 (Chantilly Robotics)
Team Role: Alumni
 
Join Date: Apr 2011
Rookie Year: 2011
Location: DC Area/Fairfax County
Posts: 192
rbmj is a jewel in the roughrbmj is a jewel in the roughrbmj is a jewel in the rough
Re: Python Testing Strategies -- How did you do it?

Quote:
Originally Posted by virtuald View Post
The FRC NetConsole is two way... I never got around to making the python NetConsole do two way (but patches are accepted!).

In order to receive the UDP communications for the NetConsole, I believe the subnet mask has to match on the cRio and the receiving PC (and possibly the router too). I've had problems with the FRC NetConsole when they didn't match.
I have successful two-way communication in a python netconsole:

https://github.com/rbmj/netconsole

It works on linux (I still need to test it on windows). I tried to be cross-platform, but sometimes things don't work as they're supposed to.

There are some issues with the console picking up packets that were sent out to broadcast, even though they're on a different port (so I suspect that they're being echoed by the cRIO to signal receipt). If someone wants to take a closer look at that and submit a patch...
Reply With Quote