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 / *1299 (-20)
  utils/Makefile.common problem - djgpp
 
re: legos.0.2.4 In the file Makefile.common in the utils directory is this: # DJGPP does not define OSTYPE # ifndef OSTYPE OSTYPE=$(MSDOS) endif It should be: # DJGPP does not define OSTYPE # ifndef OSTYPE OSTYPE=$(shell uname) endif With the (...) (24 years ago, 27-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: rotation sensor problem (different one this time)
 
(...) Nope, just rotation. Well, I can't be sure, since there are no other sensors, but since it is not permanent (i.e., I can still force it to register, just at the wrong times) I doubt I have lost the IRQ. (...) No signals at all. I'll try it (...) (24 years ago, 27-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: rotation sensor problem (different one this time)
 
(...) All sensors stops responding? I think that you have lost, for some reasons, the ADC sampling IRQ... If you loose this one you have lost the kick to continue sampling... Some part of code inside legOS disable IRQs... I'm not enough expert in H8 (...) (24 years ago, 27-Jul-00, to lugnet.robotics.rcx.legos)
 
  further observations on rotation sensor problem
 
It would appear that all movements (even when things are otherwise behaving poorly) are properly processed if the movements are done manually while the robot is doing it's computational phase. It would appear that things are dropped when the robot (...) (24 years ago, 27-Jul-00, to lugnet.robotics.rcx.legos)
 
  rotation sensor problem (different one this time)
 
This occurs very irregularly, so I'm not sure what the problem could be, but it is a whopper. After a certain amount of time running my program, (or perhaps after certain inputs-I'm not sure) it would appear that ROTATION_X stops being updated. (...) (24 years ago, 27-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: light sensor problem?
 
(...) I remember wondering what port 6 bit 3 did and so I think I tried setting it on and off and not noticing anything broken either way. Maybe I didn't test enough though. Somebody might want to try repeating the experiment. Some extra evidence is (...) (24 years ago, 26-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: light sensor problem?
 
(...) I supposed so, but only to get a "fast scaling"? (...) I can "rescale" those values by theoretical calculation and maintain >>7 or make the right conversion (0-100). Now I've done the right scaling (ready to commit), but I sincerely think that (...) (24 years ago, 25-Jul-00, to lugnet.robotics.rcx.legos)
 
  RE: light sensor problem?
 
(...) And I'll add the reminder (for all the newbies) that without Kekoa's efforts in doing the low-level documentation, we would not be where we are today.... Thanks again, Kekoa....... As a side note, I wonder how the power to the LCD controller (...) (24 years ago, 25-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: light sensor problem?
 
(...) I personally forget the numbers of the lugnet posts. The gist is that the firmware and LegOS were, at the time, different in a critical way. I don't know the current status of LegOS. At the time, LegOS cycled through the 4 A/D sensors, reading (...) (24 years ago, 25-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: Rotation Sensor Values
 
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
 
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)
 
  Re: Persistent globals
 
(...) Wonderful! (Oh, and good morning, Eddie ;) I'm putting some stuff into the HOWTO as we speak- I'll mention that. Luis ---...--- "Summertime... and the living is easy... fish are jumping and the cotton is high... So hush, little baby, baby (...) (24 years ago, 25-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: Persistent globals
 
(...) I just committed a header file persistent.h with comment on how to use __persistent in your files. I also updated genlds.c to move the persistent data to the right place. Eddie C. Dost ecd@skynet.be (24 years ago, 25-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: Rotation Sensor Values
 
(...) 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
 
(...) 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: Persistent globals
 
(...) No. You can not easily see the difference between static and non static data in the linker scripts to decide into which section to put the data. I would recomment a header file "persistent.h" and some documentation about that. We could modify (...) (24 years ago, 25-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: Rotation Sensor Values
 
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
 
(...) 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
 
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
 
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)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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