View Single Post
  #2   Spotlight this post!  
Unread 10-01-2012, 03:10
sjspry sjspry is offline
Registered User
FRC #1984
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2010
Location: Kansas
Posts: 125
sjspry has a spectacular aura aboutsjspry has a spectacular aura aboutsjspry has a spectacular aura about
Re: Anyone know how to offload code to driver station? [xPost]

Yes, our team did it last year. It is possible to transmit data over TCP/UDP to the robot and back through some open, but normally unused, ports allowed for the competition (they are found in the manual -- others might be open in practice, but only a few are guaranteed). I don't know the numbers specifically, but there is one port open for TCP for the camera, and one without an assigned purpose. Seeing as our team wrote its own dashboard, we had those and the one reserved for the dash.

So it basically turns into writing your processing program on the driver station, and then talking to the robot via TCP. I have some Java code, but the only important part is the usage of the networking library.