Quote:
Originally Posted by alivemyst
Actually, I've written a shell/pair of shells that bypass the driverstation issue--
one exploits the ability of the cRIO to open ServerSockets via javaME's Generic Connection Foundation, so i can pull up a socket on whatever port i like, and either telnet to it or write a proper client app.
The other shell is incomplete, but handles Stdin via an open and undocumented UDP port on the cRIO, passing keystrokes directly to the device. Personally I like the serversocket approach a lot more.
|
Please bear in mind that using "undocumented ports" or "bypassing XYZ" run a good chance of only working at home. The at home network is intended to be as open as possible, to allow you the best possible prototyping environment. The at competition network is intended to guarantee good communication to all 6 robots, and may therefore deny some things.
If your communication does not adhere to the specified protocol, you will not have a leg to stand on should it suddenly be blocked.