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 / *3159 (-100)
  Re: newbie troubles (now they in packs of 2)
 
(...) Unpack. Do NOT make realclean or make depend. Just make. If you get an error SAY WHAT IT IS! Max. (22 years ago, 4-Feb-03, to lugnet.robotics.rcx.legos)
 
  Re: newbie troubles (now they in packs of 2)
 
I uninstalled everything and followed what the website says.. and the exact same thing happened with the make depend command and I got an error with the make command too... weird. --Jason (22 years ago, 4-Feb-03, to lugnet.robotics.rcx.legos)
 
  Re: newbie troubles (now they in packs of 2)
 
(...) fontdesign.exe is compiled as part of brickOS. The makedepend error you see if a bug in brickos (fixed in CVS). Just don't do "make depend" for now. Also, you can't "make strip" until you've done "make". Max. (22 years ago, 3-Feb-03, to lugnet.robotics.rcx.legos)
 
  Re: newbie troubles (now they in packs of 2)
 
I do not belive fontdesign.exe does exsist because I did a a search on my computer and nothing showed up.I did follow all of commands that was in the installation guide on the brickos webisite. However, I did download the H8 tools instead of trying (...) (22 years ago, 3-Feb-03, to lugnet.robotics.rcx.legos)
 
  Re: newbie troubles (now they in packs of 2)
 
Jason, Try using ./firmdl3 ../boot/brickos.srec this would work if you were in the util folder; from the main brickos folder it would be util/firmdl3 boot/brickos.srec the .srec file is now called brickos.srec 8-) // Joe (...) (22 years ago, 3-Feb-03, to lugnet.robotics.rcx.legos)
 
  Re: newbie troubles (now they in packs of 2)
 
I had exactly the same problems not so long ago so i followed the instructions from this site and uninstalled the brickos i had and used the one they had provided following the link. So go to this site (URL) let me know how you get on. Good luck (...) (22 years ago, 3-Feb-03, to lugnet.robotics.rcx.legos)
 
  Re: newbie troubles (now they in packs of 2)
 
(...) You mean brickOS 0.2.6.09.newconf2 (...) Does fontdesign.exe exist? What commands did you run before this? (...) Did you actually compile brickOS? List all the commands you ran between unpacking the brickos tarball and the first error (...) (22 years ago, 3-Feb-03, to lugnet.robotics.rcx.legos)
 
  newbie troubles (now they in packs of 2)
 
Before you read.. i'm an absolute newbie when it comes to brickos and linux. I am running the cygwin environment in windows 98 and brickos 2.6.09.newconf2 Ok when I try to run the make strip comand this pops up strip fontdesign.exe strip: (...) (22 years ago, 3-Feb-03, to lugnet.robotics.rcx.legos)
 
  Re: LNP problem
 
Hi, I have read a lot about lnp but i still don't much about setting it up for windows, as most documentation is about linux. So could someone please let me know anything about the configuration of winLNP. I have tried a test a program i found but (...) (22 years ago, 2-Feb-03, to lugnet.robotics.rcx.legos)
 
  Re: LNP problem
 
Hi, src/rcx.[ch] and rcx/remote.c. This may sound stupid but I was wondering if you have to download both these files to the rcx? Anyhelp would be great Thanks Andrew ___...___ Chat online in real time with MSN Messenger (URL) (22 years ago, 2-Feb-03, to lugnet.robotics.rcx.legos)
 
  Re: LNP problem
 
(...) You need to compile remote.c for the RCX, that's the part running on the RCX. rcx.c and rcx.h define an interface for your application to use the functions provided in remote.h. Namely to turn on/of/break/reverse the motor ports and to read (...) (22 years ago, 2-Feb-03, to lugnet.robotics.rcx.legos)
 
  Re: command framing as seen from kernel/program.lrkey_handler
 
(...) Just to be more certain we're understanding each other, if that's ok, I'll mention that ... 1) Newbie that I am, I have no clue how frequently brickos switches on bit masks. I wonder if only to decode xD2 RemoteCommand. 2) Using log2(xx & -xx) (...) (22 years ago, 2-Feb-03, to lugnet.robotics.rcx.legos)
 
  Re: command framing as seen from kernel/program.lrkey_handler
 
"Pat LaVarre" <ppaatt@aol.com> wrote in message news:H9n64q.B2p@lugnet.com... (...) I dunno, haven't found one yet, though. (...) choice (...) Touché. Yes, tables, overlooked that. (...) the (...) expensive (...) I think that smaller code size is (...) (22 years ago, 1-Feb-03, to lugnet.robotics.rcx.legos)
 
  Re: command framing as seen from kernel/program.lrkey_handler
 
(...) Mmmmm. I am curious, if that's ok. To get log2(xx) in O(1) time we could fetch (p[xx & -xx]) i.e. fetch our choice of the bytes at offset x 0 1 2 4 8 10 20 40 80 from some p we like. Merely standard C can't easily express that old idea without (...) (22 years ago, 1-Feb-03, to lugnet.robotics.rcx.legos)
 
  Re: command framing as seen from kernel/program.lrkey_handler
 
(...) (URL) The missing (key & -key) might interest people who haven't used log2 & - to (...) number (...) and (...) log2(key (...) If I'm interpreting your shorthand correctly: there's no fast way to execute log2() on the H8 (i.e. no O(1) (...) (22 years ago, 1-Feb-03, to lugnet.robotics.rcx.legos)
 
  command framing as seen from kernel/program.lrkey_handler
 
(...) Thanks for the tip, in reply here is a perhaps stunningly ignorant walkthru of how brickos frames standard commands, viewed by the newbie Me from kernel/program.lrkey_handler. The missing (key & -key) might interest people who haven't used (...) (22 years ago, 1-Feb-03, to lugnet.robotics.rcx.legos)
 
  brickOS in an Operating Systems Classroom
 
***...*** * brickOS in an Operating Systems Classroom * ***...*** Hi. I just want to report on a little project we did here at East Carolina University last semester. Although we never posted to this newsgroup for help, we need to thank you all for (...) (22 years ago, 31-Jan-03, to lugnet.robotics.rcx.legos)
 
  make compiling error
 
When I try to compile my program I get this error: /course/cs148/bin/h8...hi-hms-gcc -O2 -fno-builtin - fomit-frame-pointer -Wall -I. -I/course/cs148/include -c sound.c /course/cs148/bin/h8...chi-hms-ld -T /course/cs148/lib/brickOS.lds -relax (...) (22 years ago, 31-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: [ brickos-Patches-668115 ] Make brickOS work with up-to-date Binutils
 
(...) https://sourceforge....5&group_id =58151 (...) Any comments on this? It would be nice to have this issue fixed in CVS. Max. (22 years ago, 30-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: RCXTTY-Variable Problem, calling ./firmdl3 ../boot/brickOS.srec
 
Absolutly, Thanks :-) (...) whether (...) setup. (...) something (...) newConf2 (...) a (...) _WIN32 (...) (22 years ago, 30-Jan-03, to lugnet.robotics.rcx.legos)
 
  Problem with dll putting a program on the RCX.
 
I have determined that the problem I had with uploading a program to the RCX is a bug in either the dll program or the kernel of version brickos-0.2.6.09.newConf2. I setup and compiled version legOS-0.2.5 without any problems, compiled and uploaded (...) (22 years ago, 29-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: LNP problem
 
(...) I don't know anything about Windows, but I started using LNP on Linux with good results lately. It really isn't that hard once you get your first programm running ... :) I wrote a little remote-control/monitor app based on LNP. While for Gnome (...) (22 years ago, 29-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: (no subject)
 
(...) The first error can be dealt with by adding a blank line at the end of the file. The others are harder. What version of gcc are you using? What editor did you use to type it in? For those of us without the book, what is the text of the program? (22 years ago, 29-Jan-03, to lugnet.robotics.rcx.legos)
 
  Problem Getting dll to Download helloworld.lx to download.
 
Okay here is what I am using: brickos-0.2.6.09.new...nf2.tar.gz rcx-binutils-2.9.5.0...1.i386.rpm rcx-egcs-1.1.2-1.i386.rpm rcx-egcs-c++-1.1.2-1.i386.rpm I am running Mandrake Linux 8.2. I downloaded and installed all of the above files. I (...) (22 years ago, 28-Jan-03, to lugnet.robotics.rcx.legos)
 
  (no subject)
 
Hi there, Was just wanting some help getting the simple.c program working that comes in the extreme mindstorms book. The problem is that when I type make simple.lx I get warnings and errors back like this: /usr/local/bin/h8300-hms-gcc -02 (...) (22 years ago, 28-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: LNP problem
 
Hi everyone, I have to say I have found these messages very interesting, and was wanting to use lnp myself but i do not know where to write and make my programs. And I would also like to find out more about how you write the pc code and the rcx code (...) (22 years ago, 28-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: How do i make a program to run on brickos
 
(...) You can use any editor. However, I recommend a good "programmer's editor" like VIM that automatically stylizes, colorizes, and syntax-checks your code. An alternative to VIM is Emacs. VIM vs Emacs is a popular "computer holy war", and I (...) (22 years ago, 28-Jan-03, to lugnet.robotics.rcx.legos)
 
  Problem solves!
 
(...) make is casesensitive! That means lightseeker.c was not found because the filename was LigtSeeker.c! Reinhard (22 years ago, 27-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: How do i make a program to run on brickos
 
Hi, I have been got bricxCC and have been trying to use it in the standard way with NQC, and I am not really that great at it. So what is it like to use brickOS in it? and is there any documentation that can show me where to start? Or can I just (...) (22 years ago, 27-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: RCXTTY-Variable Problem, calling ./firmdl3 ../boot/brickOS.srec
 
(...) I will try to add a little clarity to the problems that some people have encountered with brickOS under cygwin. If you get make strip errors it is almost certainly because your utilities were built without .exe extensions. This will happen if (...) (22 years ago, 27-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: How do i make a program to run on brickos
 
(...) If you are running brickOS on a Windows machine then you should definitely consider using BricxCC to write your brickOS programs. John Hansen (22 years ago, 27-Jan-03, to lugnet.robotics.rcx.legos)
 
  How do i make a program to run on brickos
 
Hi everyone, previous problems behind me now as it all works and i am well chuffed, I now just want to start running programs on it, and was wondering where do you write your programs? can you do it in notepad? or do i need a specific text editor? I (...) (22 years ago, 27-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: legos.srec
 
Hi everyone, I have ran configure and unfortunaly cannot remember what messages appeared, and at the minute i have uninstalled all of cygwin and brickos and i am reinstalling everthing at the mo to try and get things sorted. I was just wondering (...) (22 years ago, 27-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: legos.srec
 
(...) There is absolutely no way your h8300-hitachi-hms-gcc is in the root directory. Did you run configure? What did it say? Probably best to remove your brickos dir, and unpack again from the tarball. Max. (22 years ago, 26-Jan-03, to lugnet.robotics.rcx.legos)
 
  legos.srec
 
Hi everyone, the problem may begin before these few lines so i will show more of the lines that were previous to that error message. Here goes: make[2]: Leaving directory '/brickos-0.2.6.0.ne...l/dll-src' make[2]: entering directory (...) (22 years ago, 26-Jan-03, to lugnet.robotics.rcx.legos)
 
  LegOS.srec
 
Hi everyone, I do not have legos.srec or brickos.srec, cos of make depend not working. So i used the command Max suggested and now i get the message below. This is the error message i get when i try to use the "make clean all" make[2]: *** (...) (22 years ago, 26-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: I dont seem to have legOS.srec
 
(...) Please keep replies on the mailing list. I'm not the only person who can help. (...) The first line you give is make reacting to an error whilst building memcpy.o, and bailing out. So all I know from that is that "An error occurred". So, I (...) (22 years ago, 26-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: I dont seem to have legOS.srec
 
(...) Did you do what I suggested last time you said make depend wasn't working? Max. (22 years ago, 26-Jan-03, to lugnet.robotics.rcx.legos)
 
  I dont seem to have legOS.srec
 
Hi everyone, I am having real difficulty at the moment getting anywhere with brickos. But it seems i do not have the kernel legos.srec or brickos.srec whichever it might be, it's just not there. I think maybe it is because "make depend" command (...) (22 years ago, 26-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: RCXTTY-Variable Problem, calling ./firmdl3 ../boot/brickOS.srec
 
Hello I found the solution to the Main Problem: Quotation from another topic: This Flag has to be changed in the Makefile.common file in the Brickos directory "The best fix for cygwin and newConf2 is to change the line in the ifdef (...) (22 years ago, 25-Jan-03, to lugnet.robotics.rcx.legos)
 
  RCXTTY-Variable Problem, calling ./firmdl3 ../boot/brickOS.srec
 
Hello, Dear NewsGroup ---...--- My Problem is: When I tri to download the BrickOS firmware to the Brick using ./firmdl3 ../boot/brickOS.srec after setting "RCXTTY=USB" with "export ...". (I have the USB-Tower) I get the following error: "USB: No (...) (22 years ago, 25-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: Newbie problems
 
(...) Well, the compilation process would give up everytime, despite just trying to install just the suggested packages. (Also, given the unintuitive Cygwin install program, I decided it was easier to say everything - I have access to a nice fat (...) (22 years ago, 23-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: newbie trouble with make depend
 
(...) Thats broken at the moment, but the workaround is to simply not rebuild the dependencies. i.e., just do "make clean all", and don't do "make depend". Max. (22 years ago, 22-Jan-03, to lugnet.robotics.rcx.legos)
 
  newbie trouble with make depend
 
hi everyone, I have been trying to get everything configured for brickos, and keep getting stuck at make depend command, as shown below: makedepend: not found make[2]: *** [.depend] Error 127 make[2]: Leaving directory (...) (22 years ago, 22-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: Newbie problems
 
[Ian: I realized I'd forgotten a sentence just after pressing send. So this is not quite a duplicate of my previous message.] (...) It may be worthwhile trying the latest brickos testing release, 0.2.6.09, IIRC. (...) Everything under Cygwin is a (...) (22 years ago, 22-Jan-03, to lugnet.robotics.rcx.legos)
 
  I cannot send more than 6 bytes with lnpd
 
I'm trying to send some data from the RCX to my computer, using lnpd, but I have the following problem: it seems that I cannot send more than 6/7 bytes, because after this limit I have a lot of errors from lpnd (see the log below). The tower and the (...) (22 years ago, 21-Jan-03, to lugnet.robotics.rcx.legos)
 
  Newbie problems
 
Hi everyone, I've been struggling to get legos 0.2.6 working for a few days now, and I'm beginning to make a little progress. Using the insturctions at this site: (URL) finally got the thing installed under XP (Dosn't seem to want to go under win98 (...) (22 years ago, 21-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: Sensor Sampling; Progress?
 
The Lego firmware cuts power for about 200uS, with a period of 3mS. So most sensors have to have enough capacitor based power storage for the full 200uS and be able to run on about 93% duty cycle. (The rotation sensor is one of the devices on the (...) (22 years ago, 19-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: Sensor Sampling; Progress?
 
(...) Yes. (...) individually (...) That's right. (...) I agree. With the current firmware, power gets cut off to all 3 sensors for ~85us (sometimes longer). With the scheme I mentioned, power would be cut to only one sensor for ~25us. The sample (...) (22 years ago, 19-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: Sensor Sampling; Progress?
 
(...) What OS are you using? How far have you got? Max. (22 years ago, 19-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: Sensor Sampling; Progress?
 
I have been following this thread with great interest for two reasons. One day, someone will be persuaded to provide me with direct help and assistance in getting BrickOS running on my laptop - perhaps at BW or BF. I have built quite a few prototype (...) (22 years ago, 18-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: Sensor Sampling; Progress?
 
Joe, Great job on taking the bull by the horns! The following are my suggestions on a system configuration. Please note that the term "divider" is being used here to indicate the function should only be performed every Nth interrupt. OCRA interrupt (...) (22 years ago, 18-Jan-03, to lugnet.robotics.rcx.legos)
 
  Sensor Sampling; Progress?
 
So far, I have reconfigured a copy of BrickOS in the following way: 1) Adjusted the clock_handler to improve the accuracy of the sys_time variable. Now running at very close (if not right on) 1 msec per tick. 2) Allowed the FRC (Free-Running (...) (22 years ago, 18-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: DISTRIBUTED/PARALLEL CLUSTER for legOS through n*RCX
 
Nick, What you propose it's another way, and of course, should work, but we might have to create another software layer over the current operating system of the RCX (of course, legOS), and we would loose 1 sensor per RCX. What I was trying to (...) (22 years ago, 17-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: DISTRIBUTED/PARALLEL CLUSTER for legOS through n*RCX
 
(...) An interesting idea. Presumably a light sensor alone would suffice, as it could be switched between active/passive mode to turn the LED on/off. You couldn't get high bandwidth, but there wouldn't be interference. Also, this would take multiple (...) (22 years ago, 17-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: brickOS with BricxCC
 
(...) Well, I guess I am one of the two :) Its nice to know I am on the cutting edge of things. Actually I am probably one of the few BrickOS users that is too dumb or impatient to deal with cygwin or unix. (...) Seems fine to me. I think all we (...) (22 years ago, 17-Jan-03, to lugnet.robotics.rcx.legos)
 
  MIDI conversion
 
I have added a feature to BricxCC to convert MIDI files to NQC, MindScript, LASM, brickOS C, and brickOS Pascal code. It seems to work quite well with the first three languages (i.e., the sound generated by the RCX closely resembles the MIDI file (...) (22 years ago, 16-Jan-03, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx.nqc)
 
  Re: Interesting BrickOS Timing Results
 
(...) I forgot to mention... This is *almost* the same as moving some of the subsystem code into a seperate high priority task. For example, LCD refresh code is executed in the 1ms timer ISR. It really doesn't need to be in the ISR. It can do it's (...) (22 years ago, 15-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: Interesting BrickOS Timing Results
 
(...) 250msec? Not blocked entirely, but delayed. That's what I meant by "stutter". I've measured the general interrupt handler to take anywhere from 70-150us. So, the higher the sample rate the more significant the disruption. Anything faster than (...) (22 years ago, 15-Jan-03, to lugnet.robotics.rcx.legos)
 
  RE: Interesting BrickOS Timing Results
 
(...) I have been following this thread in my peripheral vision for a while now. All of the talk is very interesting and appears to be leading to a general question about how and why the drivers are the way they are.... As a point of interest, some (...) (22 years ago, 15-Jan-03, to lugnet.robotics.rcx.legos, lugnet.robotics.rcx.pbforth)
 
  Re: DISTRIBUTED/PARALLEL CLUSTER for legOS through n*RCX
 
Hi there, did some worh with rcx/legos/DSM in my thesis which can be found at www.cs.uit.no/~kenne.../Thesis.ps Although i didnt share the memory of each rcx, i installed a dsm server(created at the local university) on a notebook which each rcx (...) (22 years ago, 15-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: Interesting BrickOS Timing Results
 
Mark Riley wrote: > Actually, if we move the sys_time > handler back to OCRA (instead of the watchdog NMI), > then we could just check if bit 0 of sys_time is zero to > determine if the subsystem handler should be called (plus > this will get (...) (22 years ago, 15-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: DISTRIBUTED/PARALLEL CLUSTER for legOS through n*RCX
 
Yes Kekoa it's a bottle neck, as I wrote on the original message, the main idea is to distribute the load, with the MINIMUM amount of network traffic. I think that all the RCX should be connected through fibre optics, in order to implement the (...) (22 years ago, 15-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: Interesting BrickOS Timing Results
 
Hi Marc, (...) Nice idea, but wouldn't that result in at least one of four cycles beeing blocked by OCRA? or is our system interrupt finished within less than 250msec? (...) Right, that was what I did for my Lepomux patch - works fine. Gunther (22 years ago, 15-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: Interesting BrickOS Timing Results
 
(...) My thought was that the OCRA interrupt could be used as the general 1ms interrupt and the subsystem handler (which is currently using OCRB) could be called every other time from the OCRA handler by using a flag (toggled every 1ms). Actually, (...) (22 years ago, 15-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: DISTRIBUTED/PARALLEL CLUSTER for legOS through n*RCX
 
Last year I built a robot which used multiple RCXs in the way you mention. I was building a sumo wrestling battle bot, and at some point ran out of sensor ports. For my sumo bot I'd built up some small abstraction layers around the sensors and (...) (22 years ago, 15-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: DISTRIBUTED/PARALLEL CLUSTER for legOS through n*RCX
 
Just a question about this. Won't the IR airwaves will be a major bottleneck for most parallel applications? -Kekoa (22 years ago, 15-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: Interesting BrickOS Timing Results
 
OCRA and OCRB are output interrupts for the 16 bit timer. They can be programmed to fire at specific points along the timers run. So, technically, they cannot be used independently of each other. If OCRA resets the timer value back to zero, then (...) (22 years ago, 15-Jan-03, to lugnet.robotics.rcx.legos)
 
  DISTRIBUTED/PARALLEL CLUSTER for legOS through n*RCX
 
Hi all. I'm taking a course on parallel/distributed operating systems. So this post attempts to find out if someone has thought, or has implemented some kind of distributed application over BrickOS/legOS (from now legOS, for this post). I know (...) (22 years ago, 15-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: Interesting BrickOS Timing Results
 
(...) Timer B is usually unused but has a lower priority than Timer A. If you do a lot of stuff in the timer A routine, this will block timer B interrupts (especially if timer B generates more interrupts than timer A). The mean thing is that those (...) (22 years ago, 15-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: Interesting BrickOS Timing Results
 
From the second scope screen capture here : (URL) you can see that the analog settling time is about 10 microseconds for the rotation sensor. Philo www.philohome.com (...) (22 years ago, 15-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: Interesting BrickOS Timing Results
 
(...) I've found that any interrupt on the RCX has a minimum overhead of 101 to 113 states (or about 7 us). This is the time taken by the CPU to recognize and dispatch the interrupt plus the time the ROM routine takes to dispatch the interrupt to (...) (22 years ago, 15-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: Interesting BrickOS Timing Results
 
Joe, That's definitely an improvement! So, that would be a 250 Hz sample rate for any given sensor. I just tried a modification similar to yours that did all 4 conversions every OCRA/B interrupt (or 1 KHz sample rate) and got: IDLE: 82 2ROT: 77 (...) (22 years ago, 15-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: Interesting BrickOS Timing Results
 
I did some "real world" tests with this update. I was Astounded at what a difference it makes. The bot I was testing with is a killough platform; which I had tried for hours previously, to get it to follow a line smoothly. I think BrickOS was giving (...) (22 years ago, 15-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: Interesting BrickOS Timing Results
 
Mark, I retrieved the latest BrickOS from CVS, made clean and made the cpu test program you listed. I then made two small changes (to see what would happen); first the results, then the changes: IDLE: 89 2ROT: 87 NOAD: 91 (see below) NIRQ: 98 (see (...) (22 years ago, 15-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: Interesting BrickOS Timing Results
 
(...) The delay was added a long time ago after a bit of discussion on this newsgroup/list. A search through old newsgroup posts will turn up a brief series of three posts with subject "Rom sensor read routine" from Apr/May 1999. The explanation (...) (22 years ago, 15-Jan-03, to lugnet.robotics.rcx.legos)
 
  Patches on SourceForge? A good/bad way to get changes into brickOS?
 
I've just posted (URL) note that there are 4 other patches lingering from as far back as September. Will my patch be looked at because it has been posted there? For info, here is the patch description The last version of binutils that brickOS works (...) (22 years ago, 14-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: Interesting BrickOS Timing Results
 
This was a terrific analysis. It's not surprizing that current implementation hogs so much CPU time. If all four A/D channels are scanned every 150 us then the A/D interrupt is occuring every 37.5 us since each A/D channel generates its own (...) (22 years ago, 14-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: Interesting BrickOS Timing Results
 
(...) This would be my favourites. If one builds a fast moving robot, main concern will be how fast the robot reacts to light sensor changes or how small the structures could be that the light sensor will "see". If one builds a thinking robot, for (...) (22 years ago, 14-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: Interesting BrickOS Timing Results
 
Mark, ANOTHER great find! You are pushing BrickOS to new heights! Ok, so what can we do about this? 1) Provide a constant to set the update frequency at compile time. 2) Provide a variable to set the update frequency at run time. 3) Optimize the (...) (22 years ago, 14-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: Interesting BrickOS Timing Results
 
Oops, found a little bug. ;-) Forgot to turn off the rotation sensors. Caused a wrong reading if you let the program run through the readings more than once. The rotation sensor section should read like this: // with two rotation sensors enabled (...) (22 years ago, 14-Jan-03, to lugnet.robotics.rcx.legos)
 
  Interesting BrickOS Timing Results
 
Hi All, The recent posts about interfacing an i2c device to an RCX sensor port (in .robotics) got me interested in looking at the kernel code that handles the sensors. So, I did and found myself looking at the ds_handler function. This function is (...) (22 years ago, 14-Jan-03, to lugnet.robotics.rcx.legos)
 
  DJGPP Cross Compiler Progress
 
I have successfully built an h8300 cross compiler for DJGPP using the newest version of gcc 3.2. I was not successful using gcc 2.95.2, the current used gcc compiler with brickOS, and at the advice of others tried gcc 3.2. Since it is the goal of (...) (22 years ago, 13-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: make seems not to work / djgpp
 
(...) You should edit your Makefile. Regards, Michael (22 years ago, 12-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: make seems not to work / djgpp
 
(...) I do not have a djgpp directory. Which legos version do you have? First time the make command works, only not, when want start a new project. Reinhard (22 years ago, 12-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: make seems not to work
 
(...) Did you add the djgpp directory to your path? I don't remember everything I had to do, but here's a piece from MY autoexec.bat set path=c:\djgpp\bin;c:...til;%path% set djgpp=c:\djgpp\djgpp.env set shell=c:/djgpp/bin/sh.exe Steve (22 years ago, 12-Jan-03, to lugnet.robotics.rcx.legos)
 
  make seems not to work
 
Hi! I try to compile a new programm (lightseeker.c) with make, but i only get this message (under WinLegos): make.exe: *** No rule to make target `lightseeker.lx', needed by `all'. Stop What is wrong? Reinhard (22 years ago, 12-Jan-03, to lugnet.robotics.rcx.legos)
 
  brickRC - A gnome based, LNP using remote control/monitor app for the RCX
 
Hi, thanks to this group I got LNP working quite nicely. To get my fingers warm I wrote a little app to remote control the RCX with Linux. It also allows to monitor the input ports. It's quite usefull when you build a model and want to check the (...) (22 years ago, 12-Jan-03, to lugnet.robotics.rcx.legos)
 
  brickOS with BricxCC
 
So far I have heard from two people who have successfully used brickOS with BricxCC. I'm interested in whether anyone else has tried using BricxCC to edit/compile/download programs to brickOS. Currently BricxCC requires that the cygwin bin directory (...) (22 years ago, 8-Jan-03, to lugnet.robotics.rcx.legos)
 
  dll questions
 
I'm working on a new release of BricxCC at the moment and I want to better understand the dll utility - specifically the RCX host address and RCX source port options. I think I understand the RCX host address part. Correct me if I'm wrong. Supposing (...) (22 years ago, 8-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: makedepend variable in Makefiles
 
Investigating into this further, apparently from the comments in CVS, a change was made to the makefile in legOS\boot (Rev 1.2) and legOS\demo (Rev 1.2) some three years ago. The comment stated "replaced makedepend by MAKEDEPEND". But no similar (...) (22 years ago, 6-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: workaround.patch for h8300-hms-ld crash
 
(...) No problem. Stupid lugnet server stripped out the attachments. Here is the patch, both attached and inline. BrickOS maintainers: How about applying (some ideas from) this patch? Max Index: Makefile.user ===...=== RCS file: (...) (22 years ago, 6-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: LNP problem
 
(...) This works in deed! Thank you so much Michael! No way I would have found this myself. BB (22 years ago, 5-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: LNP problem
 
(...) Ok. This is indeed the result if you run the original LNP package. There are several problems with your sources, too. So try the following to get things done: First, go to the lnpd subdir and edit rcxtty.c. In function tty_init you find a line (...) (22 years ago, 5-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: LNP problem
 
(...) Thanks. Too bad it doesn't work, but at least now I know it's not me :) Please let me know if I can be of any help. BB (22 years ago, 5-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: LNP problem
 
(...) I know that this won't help, but I tried your program (and the lnptest.c program from the lnp distribution) and got the same errors. No message came through, only frame errors. Will have a closer look at this. Regards, Michael (22 years ago, 5-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: LNP problem
 
(...) You are right, that would have probably given me a segfaut if the handler would have ever been called, but it isn't. Even a single, static printf in the handler doesn't work. What worries me are the error messages lnpd reports: (...) (22 years ago, 5-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: LNP problem
 
(...) What about ptr = (char *)&temp; Regards Michael (22 years ago, 5-Jan-03, to lugnet.robotics.rcx.legos)
 
  LNP problem
 
Hi, I'm just getting started using LNP, read the howto and tried to play around with the examples therein. However, somthing goes wrong. I have a little programm on the RCX increasing a counter every second, displaying it's value on the lCD and (...) (22 years ago, 5-Jan-03, to lugnet.robotics.rcx.legos)
 
  Re: BrickOS & LinuxUSB & lnpd
 
Hi, I would like to get your patches to make the tower and lnpd to w ork. I already have the tower working but I would like to see if did an ything different. So can you please send me your patches? (X) the patch to legotower.c to get the (...) (22 years ago, 4-Jan-03, to lugnet.robotics.rcx.legos)


Next Page:  5 more | 10 more | 20 more | 100 more

Redisplay Messages:  All | Compact

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