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 / *1304 (-20)
  Re: rotation sensor thing solved
 
(...) Actually, the sensors themselves don't generate an interrupt. The interrupt to read the sensors is from a timer, and it just cycles through the sensors waiting to read the next one. This may be related to the problem Kekoa mentioned about (...) (24 years ago, 27-Jul-00, to lugnet.robotics.rcx.legos)
 
  rotation sensor thing solved
 
OK, so I had forgotten that for whatever reason legOS rotation sensors are very, very sensitive to dying batteries. I think that when underpowered, they either don't generate an interrupt or the voltage on the interrupt is too weak and the signal (...) (24 years ago, 27-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: solaris + legOS
 
(...) I've been too busy, and will be stepping on a plane tomorrow, and ignoring legOS for two well deserved weeks. Paolo can (will?) work with you on getting those into CVS. Good luck on the rest- with any luck, I hope to see Solaris on the ports (...) (24 years ago, 27-Jul-00, to lugnet.robotics.rcx.legos)
 
  solaris + legOS
 
Hello, I'm trying to get legOS to work on solaris. I'm having troubles. I've got the cross compiler installed. I'm having the same problem everyone else who's tried it on Solaris: legOS/util/dll-src/loader.c gives problems me an error with the (...) (24 years ago, 27-Jul-00, to lugnet.robotics.rcx.legos)
 
  solaris + legOS
 
Hello, I'm trying to get legOS to work on solaris. I'm having troubles. I've got the cross compiler installed. I'm having the same problem everyone else who's tried it on Solaris: legOS/util/dll-src/loader.c gives problems me an error with the (...) (24 years ago, 27-Jul-00, to lugnet.robotics.rcx.legos)
 
  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)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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