Subject:
|
Re: Has anyone used lnpd succesfully?
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Fri, 28 Apr 2000 08:20:29 GMT
|
Viewed:
|
1479 times
|
| |
| |
Yes. I have used it successfully, though not always...
In my case it seems to be a problem with the uart 16550A. It does not switch
to low lattency mode correctly making the tower blind to the RCX. I
circumvented the problem setting the UART type as 16540.
I first tried to do it by changing lnpd code, but it provoked the continuous
collision problem. After a lot of testing, I found that leaving lnpd as is
(initializing the uart as 16550A and setting it to low lattency) and
executing the instruction
# setserial /dev/ttyS0 uart 16450 low_latency
(running as root)
after lnpd has started, the problem vanished.
Sometimes the collisions appeared after some time of use, but a sequence of
instructions like
# setserial /dev/ttyS0 uart 16550A ^low_latency
# setserial /dev/ttyS0 uart 16450 low_latency
fixed the problem...
I worked all this a couple of months ago and now I have almost no time to
play with it so I don't know if Martin Cornelius (we were in contact to try
to fix this) have been working on it... (Ping!! Martin?? Still Alive? ;-)
Hope it works for you...
Toni
"Steve morris" <smorris@nexen.com> wrote in message
news:3908BAB9.F1BE7C7E@nexen.com...
> Steve morris wrote:
>
> > Steve Morris wrote:
> >
> > > I'm trying to use lnpd. First I'm trying to get the test app working
>
> Are there known conditions where lnpd works and doesn't work? Are there
> versions of LegOS
> which support it better?
>
> Mostly I wish I had at least one report of success that would suggest that
> there is hope at the end
> of my tunnel. I cannot do my application without the ability to collect data
> from the RCX.
>
> Given that there appears to be no one interested in answering questions about
> lnpd, should
> I give up on it and write direct lnp code or will I have the same problems
> there? Basically what
> I want to know is if people actually communicate with the RCX under LegOS. I
> suppose
> I should really did into the code and figure it out myself. It's only 1500
> lines of source.
>
> At least this has given me plenty of time to rebuild my robot. It gets lighter
> and stronger each
> rebuild.
>
>
|
|
Message has 1 Reply: | | Re: Has anyone used lnpd succesfully?
|
| (...) Of course, but also currently not very available. But i still would like to fix this problem, or at least find the reason. Sporadically, i'm working or better say thinking about an enhanced version of lnpd, but i think this doesn't make much (...) (25 years ago, 4-May-00, to lugnet.robotics.rcx.legos)
|
Message is in Reply To:
| | Has anyone used lnpd succesfully?
|
| (...) Are there known conditions where lnpd works and doesn't work? Are there versions of LegOS which support it better? Mostly I wish I had at least one report of success that would suggest that there is hope at the end of my tunnel. I cannot do my (...) (25 years ago, 27-Apr-00, to lugnet.robotics.rcx.legos)
|
5 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
|
|
|
|