To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 829
828  |  830
Subject: 
Re: patch for lnpd ( Collision problem in far-mode )
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Sun, 13 Feb 2000 11:23:08 GMT
Viewed: 
3097 times
  
Michael Marklew wrote:

So I tried loading your patch Martin. Sorry to be a pain, I assume this is how
I apply the patch you wrote?


Pardon, Mike, i should have anticipated that, because i had the same
problem when i first tried to apply a patch. The usage of patch is a
little uncommon: You have to provide the patch through stdin !. Thus,
i'd suggest the following procedure:

- First, copy the patch to file patch-trans ( you already did that, i
think )
- Make sure you have the original transceiver.c from the tarball in
place.
- To keep a copy of the original (optional):
$> cp transceiver.c transceiver.c.old

- Apply the patch:
$> patch transceiver.c < patch-trans
                      ^^^ ( stdin redirection )

The only output seen with a recent version of patch should be:
patching file transceiver.c

If you have an older version of patch, it might output some information
about it's operation. Anyways,
if you get any warnings or errors, like hunk rejected or so, there is a
problem with your original.

BTW, do you experience the same problems when your Tower is switched to
near-mode ?

Have a nice sunday, Martin



Message has 1 Reply:
  Re: patch for lnpd ( Collision problem in far-mode )
 
I applied the patch manually (ok. I admit it was fairly obvious where the changes had to be made) Maby I made a mistake applying the patch or something as I still get Collission errors. I tried two IR towers in both near and far mode, still the same (...) (25 years ago, 14-Feb-00, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  Re: patch for lnpd ( Collision problem in far-mode )
 
No matter what I do (opening the window, turning on more lights etc) I can't get the tower to stop seeing collissions. I must admit that IR reflects so well in my house that the TV remote works form other rooms. So I tried loading your patch (...) (25 years ago, 13-Feb-00, to lugnet.robotics.rcx.legos)

21 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
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR