|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|
|
Re: Ported: Javascript for 2010
Quote:
Just try to plug a mouse or keyboard into the bluebox DS and it gives weird results. Your mileage may vary. |
|
#2
|
|||
|
|||
|
Re: Ported: Javascript for 2010
How fast does the JIT run on the cRIO (say compared to Java)?
|
|
#3
|
|||||
|
|||||
|
Re: Ported: Javascript for 2010
Aside from the sarcasm in Bharat's post, the 2010 Driver Station has its own keyboard.
|
|
#4
|
||
|
Re: Ported: Javascript for 2010
Quote:
Quote:
http://forums.usfirst.org/showthread.php?t=13368 |
|
#5
|
|||
|
|||
|
Re: Ported: Javascript for 2010
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. @bronxbomber92: I haven't played with Rhino's AOT compilation system yet, and I know it doesnt have a JIT compiler... so no idea. On a side note, I'm running into some really nasty hitches in the Java-Javascript wrapper/classloader system, that I believe are the product of the crappy j2me rhino implementation i'm using. If I cant hack the wrapper system together, I may be forced to switch to a full Java 5 SE version of rhino and will probably retroweave it to work with J2ME. Still that will take a little more work... If anybody knows stuff about this and would like to help out it'd be great. Its eating my hours right now, and I have work. ![]() This is the last hurdle before WPILibJ works fully. If this can be thrown together in a week then it could be released to coincide with the FRC Java release, which would be amazing. 4 Languages for FRC ![]() pm me if you are interested or post here. I can put up a repo &c, although if you are not a beta tester/[hacker] you will have to test your stuff in the SunSPOT environment. Nbd, just no WPILibJ for u! |
|
#6
|
|||
|
|||
|
Re: Ported: Javascript for 2010
Quote:
If your communication does not adhere to the specified protocol, you will not have a leg to stand on should it suddenly be blocked. |
|
#7
|
|||
|
|||
|
Re: Ported: Javascript for 2010
As I recall, last year, anything except the standard DS UDP transmissions were firewalled. Some teams built tunneling protocols to sneak video data through, but this would be much more complicated for what you're proposing.
On the other hand, Java...script? I think my brain just exploded. |
|
#8
|
|||
|
|||
|
Re: Ported: Javascript for 2010
Stdin is now being integrated into FRC Java images, so no more undocumentedness.
Also, I'm working on getting the Java5 version of rhino ported, because it is possible to run Java 5 stuff in J2ME -- see sun's playsim project presentation for a hint. |
|
#9
|
||||
|
||||
|
Re: Ported: Javascript for 2010
Did this project die?
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [BB]Award Changes for 2010 | yodameister | General Forum | 15 | 06-01-2010 00:22 |
| New technology for 2010? | Flyin' Axe | Technical Discussion | 8 | 05-04-2009 15:39 |
| JavaScript Code for automatic Resize??/ | Compnerd | Website Design/Showcase | 6 | 01-03-2007 12:41 |
| Help: Looking for javascript countdown script | Compnerd | Website Design/Showcase | 3 | 24-02-2007 23:44 |