 | | Help with DataOutputStream and DataInputStream
|
|
Hi people, I´m working with lejos 2.1 and the serial tower. I was trying to send a matrix of floats from the PC to the RCX using as a model the DataInputStream and DataOutputStream examples that came with lejos. The problem I have, is that I´m (...) (23 years ago, 7-Feb-03, to lugnet.robotics.rcx.java)
|
| |
 | | Re: usb from .java best how
|
|
(...) Offline thanks I'm told that: (URL) a one page Lejos usage summary in slide 26 of 31 that says `Lejosfirmdl` can download new firmware, which necessarily involves talking thru USB or serial. Code for .java thru .c to USB may only be a few (...) (23 years ago, 3-Feb-03, to lugnet.robotics.rcx.java)
|
| |
 | | usb from .java best how
|
|
To talk USB from .java, from Linux ff. 2.4.19, Win 95B/ 98/ ME/ Win NT/ 2K/ XP, and/or MacOS 9/X ... ... what techniques are most easy to learn, fast, reliable, and yet arbitrary enough to support a Lego USB IR tower? That is, what is the USB (...) (23 years ago, 3-Feb-03, to lugnet.robotics.rcx.java)
|
| |
 | | Re: frame RCX reply how
|
|
(...) Anyone know more specifically where to read how Lejos frames standard RCX IR replies? Does Lejos even include any .java code that runs on the PC? I mean to be asking how a PC should frame the standard replies from Lego RCX fimware, not how a (...) (23 years ago, 1-Feb-03, to lugnet.robotics.rcx.java)
|
| |
 | | framing RCX LNP replies in Java
|
|
(...) Thanks I reached: src/org/javastorms/lnp/IR.java (...) I think I see ... readMsg accepts what it likes else dies after reading the first distasteful byte. readMsg likes either of xF0 or xF1, then a length byte, then that many bytes, then a (...) (23 years ago, 1-Feb-03, to lugnet.robotics.rcx.java)
|
| |
 | | Re: fast download with Serial-Tower is no faster
|
|
(...) Frederic, lejosrun does not support 4x download. It has a -f or --fast flag but the "use_fast" variable that this sets is not used. lejosfirmdl does support 4x download with serial towers. It does this by first downloading a fast firmware (...) (23 years ago, 18-Jan-03, to lugnet.robotics.rcx.java)
|
| |
 | | fast download with Serial-Tower is no faster
|
|
Just got my second RIS, a 1.5 with Serial-Tower this time. I did not installed any other software than the previous I had (Win98, JDK1.3, Lejos 2.0, USB Drivers for Lego-Tower). I have just set RCXTTY=COM1. Problem: when doing a "lejosrun -f (...) (23 years ago, 17-Jan-03, to lugnet.robotics.rcx.java)
|
| |
 | | Re: Transmitting time USB vs serial
|
|
(...) Michael, I tried your programs on Windows and Linux. On Windows 98 the USB tower takes about one second to reply (990 - 1100ms). On Linux it took about 9 seconds as you indicate. This looks like a problem with the Linux USB driver. I will ask (...) (24 years ago, 5-Jan-03, to lugnet.robotics.rcx.java)
|
| |
 | | Transmitting time USB vs serial
|
|
Hello, I use lejos 2.1.0 and legousbtower 0.52 from the lejos distribution. I measured the transmitting time of an Int from PC to RCX with the attached programs and got the following result: 1. single integer (LED at the tower is off before pressing (...) (24 years ago, 28-Dec-02, to lugnet.robotics.rcx.java)
|
| |
 | | Re: Robolab - lejOS communication
|
|
(...) Mario, Lejos supports communication using the original firmware opcodes via the Serial class, but, apart from program download, this is designed for executing opcodes, not downloading data. F7Handler and F7DeliveryHandler are part of and (...) (24 years ago, 1-Dec-02, to lugnet.robotics.rcx, lugnet.robotics, lugnet.robotics.rcx.java, lugnet.robotics.rcx.robolab)
|