|
Hi,
"Brian B. Alano" <throwaway@insightbb.com> writes:
> Brian B. Alano wrote:
> I'm writing a leJOS package to support the LDCC IR Protocol.
I'm having a bit of difficulty to understand what you are trying to do,
as I know Lejos but not the DCC/train side of things.
In particular, on which side do you want to use Lejos, sending those
remote commands from an RCX or from a PC?
Receiving doesn't make sense, as a stock Lejos can't generate
DCC signals, they are too fast.
As far as I can understand from the web page
(http://home.surewest.net/markril/lego/dcc/index.html),
LDCC just takes input from the LEGO Mindstorms remote control?
However, this is inconsistent to what I found in ldcc105.zip,
the NQC program.
It seems this program sends packets that are inconsistent with
the format the ROM understands, in particular the packet length
which is normally encoded in the lower 3 bit. Apparently the
RCX2 firmware extends the ROM in this regard, so it is no wonder
that the Serial class in Lejos cannot receive them, as it uses
the ROM directly.
Maybe you can try the rcxcomm package, which as far as I understand
can send arbitrary byte streams.
Good luck
Jürgen
--
Jürgen Stuber <stuber@loria.fr>
http://www.loria.fr/~stuber/
> rot 13 "fr"
"se"
|
|
Message has 1 Reply: | | Re: leJOS & LDCC IRP
|
| (...) Receiving IR commands from a Lego Remote, IR Tower or possibly another RCX. They're not DCC signals, but LDCC IRP messages. Roughly the same data, different medium and different protocol. (...) LDCC IRP is still unstable, but it will support (...) (21 years ago, 12-Sep-03, to lugnet.robotics.rcx.java, lugnet.trains)
|
Message is in Reply To:
| | leJOS & LDCC IRP
|
| Brian B. Alano wrote: I'm writing a leJOS package to support the LDCC IR Protocol. I've been testing it against Full Throttle. It works fine with the speed controls, but doesn't even seem to see packets for the function commands, stop, or power (...) (21 years ago, 12-Sep-03, to lugnet.robotics.rcx.java, lugnet.trains)
|
14 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|