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 / 1279
    Re: Rotation Sensor Values —Andy Gombos
   I figured you would be glad that I was not running 0.2.4. I cannot get it to compile correctly, so I use 0.2.3 instead. The two full programs are below, in case you wanted to see them in full. Andy ----This one does not work---- #include <dsensor.h> (...) (24 years ago, 25-Jul-00, to lugnet.robotics.rcx.legos)
   
        Re: Rotation Sensor Values —Luis Villa
     Ack! You are still having problems with 0.2.4? I thought your problem was with the compiler, and not legOS? <flips through old Andy Gombos posts on lugnet> Is this still the merge-map problem? I figured out the situation, and fixed it in CVS. Sorry (...) (24 years ago, 25-Jul-00, to lugnet.robotics.rcx.legos)
    
         Re: Rotation Sensor Values —Andy Gombos
     I downloaded the tarball, and tried to compile it. when I an in /boot, it tries to do a genlds, and exits with an error. When I try to run genlds, it says Segmentation Error(or fault, I can't remember). I think the only reason that I can use 0.2.3 (...) (24 years ago, 25-Jul-00, to lugnet.robotics.rcx.legos)
    
         Re: Rotation Sensor Values —Luis Villa
     (...) Hmm. DJGPP or Cygwin? I thought it was cygwin, but that sounds like a DJGPP problem. (...) Again, DJGPP or Cygwin? Thanks, Andy- I'm sorry to bug you, but I'd really hate to be responsible for putting out something that I know is broken. Luis (...) (24 years ago, 25-Jul-00, to lugnet.robotics.rcx.legos)
    
         Re: Rotation Sensor Values —Andy Gombos
      I am using Linux. It is a minimalistic setup, but I have downloaded all of the extra stff that needs to be used for legOS. Before this error happens, legOS.srec is built, which I did not know before. Now I get errors involving the include files in (...) (24 years ago, 25-Jul-00, to lugnet.robotics.rcx.legos)
    
         Re: Rotation Sensor Values —Eddie C. Dost
     (...) Could you please post the compile command the makefile generates to the list, including the error? Like in: ecd@reset:~/lego/min...egOS/demo> make /usr/local/bin/h8300...hi-hms-gcc -O2 -fno-builtin -fomit-frame-pointer -Wall (...) (24 years ago, 25-Jul-00, to lugnet.robotics.rcx.legos)
    
         Re: Rotation Sensor Values —Andy Gombos
     This is the whole directory command dump. These errors are half-corrected if I specify ../include/*.h in the include# line. Then I get errors about not being able to find other *.h's that the originals included. Makefile:41: .depend: No such file or (...) (24 years ago, 25-Jul-00, to lugnet.robotics.rcx.legos)
   
        Re: Rotation Sensor Values —Eddie C. Dost
   (...) Yes. It will only display two counter readings, then stop! See the "return 0;" statement. It is inside the while (1) loop. Take it out of the loop, and I am shure this one will also work. At least with 0.2.4 it does. (...) Here the return (...) (24 years ago, 25-Jul-00, to lugnet.robotics.rcx.legos)
   
        Re: Rotation Sensor Values —Andy Gombos
   Oops. When I copied it, that statement got left out, and I put it bck in in the incoorect place. The original version of the code had the return in the outside loop. I know it is this way because I could turn the rotation sensor slowly, and see the (...) (24 years ago, 25-Jul-00, to lugnet.robotics.rcx.legos)
 

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