To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / *2955 (-100)
  Re: Rotation Sensor Values
 
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
 
(...) phew :) Had me scared there for a while. I'll probably still take a look at it later- I just didn't want to have caused a bug so soon after starting to apply patches. Luis (...) ---...--- "Summertime... and the living is easy... fish are (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: Rotation Sensor Values
 
Hee, Hee. It was 0.2.3, not 0.2.4. Here is the code snippet that setup and read the values. The current(working) code takes out the refresh, and changes the delay to msleep. ds_active(&SENSOR_2); ds_rotation_on(&SENSOR_2); (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: Persistent globals
 
(...) Do you think that is possible to change the behavier of legOS loading to obtain the expected behavier for static data without the trick? Bye, Paolo. --- "Do not follow where the path my lead Go instead where there is no path and leave a (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: light sensor problem?
 
(...) That should be great! :-) (...) use (...) Absolutely True!!!! :-) (...) I'm quite sure that you can do it!!!! :-) And this should be a real step forward!!!! What a beautiful thing to have some time to spend in this section of code... :-) I'm (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: light sensor problem?
 
(...) Let me think about how to uncouple this from sys_time, so the code can get higher resolutions. (...) Yes, but even if all active sensors are turned of we are running with a lot of CPU power due to the high sampling speed. If you lower the (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: Rotation Sensor Values
 
(...) That's a good question. Is this the latest tarball? If so, there have been some modifications to the refresh loop, and this may indicate a bug in them. In other words, it could be the double sets of lcd_refresh() and not the actual reading (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: Rotation Sensor Values
 
I added back in the display code, and left out the lcd_refreshes. Then I got a proper counter. I wonder why the refresh was throwing the reading off. Thanks for all your help, Andy (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  RE: light sensor problem?
 
(...) I've used the OC1B interrupt for my servo driver code in pbForth. You could use the OC1B to set the settle time for each reading, and then actually read the results when the interrupt expires. Having a structure to tell you which A/D to read (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: light sensor problem?
 
(...) :-) It is not the best implementation I've seen... :-) (...) Yes. I hate the delay loop but we I can't imagine how to do it better if we still need maximum speed in reading values from sensors. The routine also change his sampling speed if we (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: light sensor problem?
 
(...) That's good. Now I wonder about some other questions: - Will it get the same value as the original firmware? - Will be influenced by offset (eg. from battery voltage)? In other words, do you think that the settle time is enough? I've tested (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: Rotation Sensor Values
 
Well, I do not know if I have to have code to display the values. I do not get anything on screen when I run this code. If I put a loop, and with every loop, the sensor value is being displayed, then I get the values mentioned before. I run the (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: Rotation Sensor Values
 
(...) Andy- Have you set up the rotation sensors correctly? You need to do a few things before you get reasonable values for the rotation sensor. 1) use ds_active(&SENSOR_1) to turn on the sensor. 2) use ds_rotation_on(&SENSOR_1) to turn on the (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Rotation Sensor Values
 
I was reading about rotation sensors for legOS for a new robot, and thought I'd try it out. So, I made a simple program that would show rotation sensor values on the display. What I got was not what I expected. I have never used the rotation sensors (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  dsound
 
Hi Luis, (...) I wonder if it would be interesting to include a small utility I wrote assisted by a friend of mine (Paolo Masetti) to convert MIDI files into LegOs C code: since then all of our robots are equipped with a subroutine generated by this (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: Grey Archs Needed, 1x1
 
Jason- I don't know the references offhand, but there are a number of lugnet lists dedicated specifically to trading and/or buying of Lego parts. I'm not flaming you for being OT or anything- just that you are much, much more likely to have success (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Grey Archs Needed, 1x1
 
Hi Guys, I really need a couple of 1x1 light grey archs. Find the pic at: (URL) or Trade. Thanks. Jason (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: light sensor problem?
 
(...) Right. I made the connection between Kekoa saying "I need to test" and you saying "I will test" right /after/ sending the message, of course :) (...) True. (...) I figured this would be the case. gcc is a wonderful tool, but it does tend to (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: light sensor problem?
 
(...) This is why I want to measure things in our lab at work ;) (...) And keeps lower prio tasks from running, which they could do if we slept... (...) Oh well, there are some optimizations missing. I just looked at the code generated by (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: light sensor problem?
 
(...) proof that this occurs (even though his logic does seem pretty dead on.) (...) Well, we do... time_t current_time = sys_time; while (sys_time < current_time + the amount of time I want to wait) { do nothing; } It's not pretty, but it is (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: Ideas for 0.2.5 (was: Re: Possible bug with bss allocation)
 
This will be my last post for a few hours- I have real work to do :) (...) Generally, user programs have it pretty simple for this already (which is why I had thought of this some time ago, and then dismissed it.) I had never considered the (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: light sensor problem?
 
(...) (URL) > I doubt we need this very fast reading of sensors. This makes implementing (...) Yes, when we have user space timers... (...) This is correct, but there are many good reasons for keeping assembly low bandwidth, like pitfalls in (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Ideas for 0.2.5 (was: Re: Possible bug with bss allocation)
 
(...) Shure, no problem. (...) While we are at it, I have two other major changes in mind: - Implement timers. A timer would install a callback function with a private to the caller void * argument. This callback function is called at the timers (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: light sensor problem?
 
(...) :) Bad is, of course, all relative... (...) Yes, though IMHO fast = good. It allows us to do things with legOS that might not be doable with other firmwares. (...) I'm not sure which comments you are referring to- do you have a URL for the (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: light sensor problem?
 
(...) It doesn't surprise me that someone has already worked this out. (...) It really, really doesn't surprise me that Michael was the one who worked it out. If no one thinks it is too big an overhead, I can put it in in an hour or so when I do a (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: light sensor problem?
 
(...) Oh! So readings are more stable, and it isn't just my imagination. That's good to know :) (...) Those values used to pretty cleanly define max and min- or at least, they must have, since I consistently got 15-105 values (or roughly what he (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: light sensor problem?
 
(...) To achive scaling of light sensor reading from 0..100 the following theoretical formula should be used: light = 146 - scaled / 7, where scaled is the reading of AD_X >> 6. I found this at (URL) this page contains a lot of electrical (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: Possible bug with bss allocation
 
(...) Paolo and others: Eddie and I have talked about this, and we both agree that this is a big change- so I think we are aiming for this for 0.2.5. Since it has already been seven months since 0.2.3, I think we'll aim for getting 0.2.4 out the (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: light sensor problem?
 
(...) I looked through the dsensor stuff, and it looks quite bad to me... We execute a delay loop inside an interrupt handler. We issue the command to start the next read from that same handler. This will read the sensors very quickly, for the cost (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: light sensor problem?
 
(...) I'm the one that fixed active sensor reading... :-) Settle time is one of mine... Kekoa msg about this problem (a very old one in this ng if I remember) helped me to solve things. (...) I patched the reading routine in ds_handler to fix a vary (...) (24 years ago, 24-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: Possible bug with bss allocation
 
"Eddie C. Dost" <ecd@skynet.be> wrote in message news:200007222049.WA...set.net... (...) trivial, (...) In my opinion this is a great idea! :-) Please do the implementation! It also could be very usefull to have some docs / makefile options to make (...) (24 years ago, 23-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: light sensor problem?
 
(...) Having fixed the other screwup, I can report that snipping the code I discussed earlier allows everything to build just fine. It doesn't, however, solve the issue with the light sensors. I also tried swapping the two lines I mentioned earlier: (...) (24 years ago, 23-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: semi, sort of, not quite but almost 0.2.4
 
Slight problem with lcd.c that would have prevented a clean build has been fixed. Feel free to try again :) Luis (...) fish are jumping and the cotton is high... So hush, little baby, baby don't you cry." -Ella ---...--- (24 years ago, 23-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: light sensor problem?
 
(...) It has changed from 0.1.x- Markus (who seems to have just about disappeared off the face of the planet) re-wrote a lot of that. On the other hand, in the actual ds_handler function not much has changed: the only thing that is apparent is that (...) (24 years ago, 23-Jul-00, to lugnet.robotics.rcx.legos)
 
  first small error
 
The tarball has at least one .orig file in it (a leftover from some patches I applied last night.) Ignore them- they shouldn't affect the build at all, and I'll get them out for later. Luis ---...--- "Summertime... and the living is easy... fish are (...) (24 years ago, 23-Jul-00, to lugnet.robotics.rcx.legos)
 
  semi, sort of, not quite but almost 0.2.4
 
Hey, everybody- It's been a while (nearly seven months, actually) since there was a legOS release. Markus did quite a lot of work on it before he dumped it into CVS, and Paolo Massetti and I have put in a little bit of work on it over the past (...) (24 years ago, 23-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: Possible bug with bss allocation
 
(...) I have a proposal to the legOS developers: The current tool chain to generate executables for legOS is a little off: We generate coff-h8300 from .c or .S sources, next ld generates symbolsrec relocated files from that. This step is done twice (...) (24 years ago, 22-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: Possible bug with bss allocation
 
(...) Thanks for the fix, it works great. Dave Baum (24 years ago, 22-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: Possible bug with bss allocation
 
(...) The common section is aligned to 16 bytes by ld. This is unknown to the tools generating the final .lx files. The fix is to force the alignment of the .bss section to 2, with this ld will generate files that work with the current tools. I (...) (24 years ago, 22-Jul-00, to lugnet.robotics.rcx.legos)
 
  Possible bug with bss allocation
 
I was having some random hangs with a legOS program. If I added a little code or subtracted a little, everything started working again. I've isolated it to a problem whereby writing a zero to the last byte of bss data will hang the RCX. This only (...) (24 years ago, 22-Jul-00, to lugnet.robotics.rcx.legos)
 
  RE: Using CAN to Have More Than 3 Motors/Sensors
 
(...) Mark! This is great work! I am always impressed when someone goes beyond wishing for stuff that LEGO did not provide us with and then actually builds a working model. Your idea of a modular motor/input module is one of the great benefits of (...) (24 years ago, 22-Jul-00, to lugnet.robotics.rcx)
 
  Re: New to PBforth - a few questions
 
Hi David, (...) Actually the power difference is hard to notice, regardless of platform. The different power levels are achieved using pulse width modulation, but something about the motors (maybe the flywheels) means that it's hard to notice much (...) (24 years ago, 21-Jul-00, to lugnet.robotics.rcx.pbforth)
 
  Re: light sensor problem?
 
(...) In active mode, the value you read from the light sensor depends on how you power the sensor and read the A/D converters. In particular, the delay from the time you turn off the power to the sensor to the time you do A/D conversion matters. (...) (24 years ago, 21-Jul-00, to lugnet.robotics.rcx.legos)
 
  light sensor problem?
 
Ok, so i'm supposed to be the guru, but I don't get it: all my light sensors are currently showing a range of adjusted values between 60-310, instead of the 20-110 that I'm used to seeing. The sensor is in active mode (passive mode still shows (...) (24 years ago, 21-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: EGCS and GCC
 
(...) Maybe your reply got sent to the cyber-trash, too. I never saw my post or any replies. (...) Yeah, pretty simple. Hopefully there won't be too many other instances in the kernel, and they're all one-liners to fix. (...) Well, I'll probably (...) (24 years ago, 20-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: LugNet links
 
(...) I'll take care of it... Luis ---...--- "Summertime... and the living is easy... fish are jumping and the cotton is high... So hush, little baby, baby don't you cry." -Ella ---...--- (24 years ago, 20-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: LugNet links
 
(...) If someone could email me a list of URLs, I'll take care of it. --Todd (24 years ago, 20-Jul-00, to lugnet.robotics.rcx.legos)
 
  Preiswerte 9V-Motoren
 
Bei Toys R Us in Köln-Holweide gibt es im Resteverkauf Snap-Baukästen für 20 DM, in denen auch ein 9V Powermotor enthalten ist. Damit ist der ganze Kasten bereits billiger als die Bestellung eines einzelnen Motors über den LEGO-Service. Mfg Andreas (...) (24 years ago, 20-Jul-00, to lugnet.robotics.rcx)
 
  Re: EGCS and GCC
 
I am using egcs version 1.1.2. When I make cross LANGUAGES="c c++", it will run, but then display gcc:cc1 Internal error 7, or something close to that. It is an internal error to the compiler, and the error code genterated in 7. When I compile it (...) (24 years ago, 20-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: EGCS and GCC
 
(...) I saw it. Don't know if others did. I thought I replied? (...) one liners :) (...) That would be nice if true :) (...) It will definitely need some more HOWTO updates. That's quite OK, especially if it means we can "standardize" all the (...) (24 years ago, 20-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: EGCS and GCC
 
Which version of egcs? And what are the errors? Luis (...) ---...--- "Summertime... and the living is easy... fish are jumping and the cotton is high... So hush, little baby, baby don't you cry." -Ella ---...--- (24 years ago, 20-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: EGCS and GCC
 
Okay. Binutils compiled and installed fine, but when I try to compile egcs, I get many errors, unrelated to any libraries. When I run the failed commands manually (without make), they compile fine. Then I got an error about not having enough virtual (...) (24 years ago, 20-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: EGCS and GCC
 
(...) made (...) Andy (and others), Note that you can now use gcc 2.95.2 to compile legOS - I posted about this yesterday, but it seems to have got lost in the LugNet hiccup. The problem is not with the compiler, but with the options in the in-line (...) (24 years ago, 19-Jul-00, to lugnet.robotics.rcx.legos)
 
  New to PBforth - a few questions
 
Hello, I just installed PBforth and the associated GUI interface. It works great! However I do have a few questions to anyone who can help. If I type or just hit the enter key things seem OK. But after it sits for a few moments it gets junk on the (...) (24 years ago, 19-Jul-00, to lugnet.robotics.rcx.pbforth)
 
  Re: Military (was Seeking Programming Assistance)
 
Whatever your viewpoint (I certainly have mine), this is completely off-topic here. Please move this to the .off-topic.debate group. (24 years ago, 19-Jul-00, to lugnet.robotics.rcx.nqc)
 
  Re: EGCS and GCC
 
Shouldn't. That's what my current set of tools was compiled with. When I referred (elsewhere?) to "changes with 2.95," I meant only that 2.95 has a different configuration syntax. Luis (...) ---...--- "Summertime... and the living is easy... fish (...) (24 years ago, 19-Jul-00, to lugnet.robotics.rcx.legos)
 
  EGCS and GCC
 
I am downloading the source for egcs 1.1.2 now. I was jsut wondering if it made any difference if I was compiling this, and binutils, with GCC 2.95. I know that there are errors in it, but I did not think that this will be a problem. Just thought (...) (24 years ago, 19-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: missing posts
 
I think lugnet had a burp. I just got a post I sent days ago, plus (I think) the other ones that you sent. Luis (...) ---...--- "Summertime... and the living is easy... fish are jumping and the cotton is high... So hush, little baby, baby don't you (...) (24 years ago, 19-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: Seeking Programming Assistance
 
Pavel, I'm very glad they are using something which is fast and easily adapted. The United States military includes some of the finest people in the world. I'm might proud to support them. Way to go, folks! Regards to all vets and current U.S. (...) (24 years ago, 19-Jul-00, to lugnet.robotics.rcx.nqc)
 
  missing posts
 
i posted the diffs for the remote 2 hours ago, but they haven't appeared yet... anyone know if lugnet has trouble with posts containing chars from diff? (like the less than and greater than symbols)... chris (24 years ago, 18-Jul-00, to lugnet.robotics.rcx.legos)
 
  patch 1/3
 
weird, i posted this an hour ago but nothing happened... i'll try posting in parts... patch util/dll-src/rcxtty.c 126c126 < dcb.Parity = 0; // 0-4=no,odd,even,mark,space --- (...) patch kernel/lnp-logical.c 212c212 < S_MR =SMR_P_NONE; --- (...) (24 years ago, 18-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: LegOS + Lego Remote
 
here are the diffs, apply against 0.2.4... um, not sure how to do multi-file diffs, so there are 5 files here; note that dll.exe needs to be rebuilt to handle the changed parity... still looking in the kernel for a clean place to stick in timeout (...) (24 years ago, 18-Jul-00, to lugnet.robotics.rcx.legos)
 
  Can now use gcc 2.95.2 for legOS
 
Hi all. Well, I finally got around to checking out the problem with compiling legos with gcc 2.95.2. And the good news is, it's not a bug with gcc!! The problem is the in-line assembly in memcpy.c (also in memset.c). If you apply the patch at (URL) (...) (24 years ago, 18-Jul-00, to lugnet.robotics.rcx)
 
  Re: Persistent globals
 
(...) <example code> This worked great for us using legOS 0.2.4. Thanks Eddie! Regards Tobias (24 years ago, 18-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: LegOS + Lego Remote
 
Sweet. I've got a remote, and I'd love to be able to play with it- would make the robot look much more interesting to my little brother and sister :) Luis (...) ---...--- "Summertime... and the living is easy... fish are jumping and the cotton is (...) (24 years ago, 18-Jul-00, to lugnet.robotics.rcx.legos)
 
  prg file converter
 
Hello all, I have some .prg files, compatible with the Lego Mindstorm software that I would like to convert to NQC compatible files, is it possible?? Thanks, Jim (24 years ago, 18-Jul-00, to lugnet.robotics.rcx.nqc)
 
  Re: Seeking Programming Assistance
 
However I would prefer them to use robots for mine clearing than humans! See > > supposed to detect "mines" Neil "Pavel Petrovic" <petrovic@idi.ntnu.no> wrote in message news:3972FA29.800201...ntnu.no... (...) we are (...) written a (...) from Mr (...) (24 years ago, 17-Jul-00, to lugnet.robotics.rcx.nqc)
 
  Re: Military (was Seeking Programming Assistance)
 
(...) Its a pity that the world is such that military force is required. There's no shortage of people who will use violence to take your freedoms or life. Defending those freedoms requires a willingness to use force. Note I say "willingness"...that (...) (24 years ago, 17-Jul-00, to lugnet.robotics.rcx.nqc)
 
  Re: LegOS + Lego Remote
 
Sure, I'll clean it up and post the diffs tomorrow... chris (...) (24 years ago, 17-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: Seeking Programming Assistance
 
It's a pitty that LEGO is used by military, i.e. by people who are trained to kill other people... Pavel. (...) (24 years ago, 17-Jul-00, to lugnet.robotics.rcx.nqc)
 
  Re: Persistent globals
 
(...) Mike, I don't really have time to test this tonight, but if you find that it does work, please let me know- I'd love to add this to the HOWTO. It's an interesting trick to know. Luis ---...--- "Summertime... and the living is easy... fish are (...) (24 years ago, 17-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: Persistent globals
 
(...) [snip great gobs of neat info] (...) Assuming it works, it helps a lot! Thanks much. -- "Do not go gentle into that good night. Rage, rage against the dying of the light." - Dylan Thomas Mike Ash - (URL), <mailto:mail@mikeash.com> (24 years ago, 17-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: Persistent globals
 
(...) legOS 0.2.3 or 0.2.4 will load .strings and .rodata sections just like the .text section. With this you can achive persistent data by storing your variables into the .strings section. There are some nice features in gcc to help with this. Just (...) (24 years ago, 16-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: Persistent globals
 
(...) It is correct. Everytime you reload a program it re-initializes everything, including a specific program's memory, so all that kind of information is lost. I'm not sure that there is a way to duplicate that behavior, as things stand. The only (...) (24 years ago, 16-Jul-00, to lugnet.robotics.rcx.legos)
 
  Persistent globals
 
Whew, I've been writing here a lot. I guess now that things work, it's a lot more enjoyable! :) Anyway, here goes.... I recall that with older versions of legOS, global variables were only initialized once, when the program was downloaded. (...) (24 years ago, 16-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: LegOS + Lego Remote
 
Chris- Do you have a patch for that? I'd love to test this myself (not sure if I can- MB crash last week has me still under pretty limited capacity) and if it works reliably, integrate it into the actual source tree... Luis (...) ---...--- (...) (24 years ago, 15-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: LegOS + Lego Remote
 
um, never mind... i just set parity to odd for both the LegOS kernel and compiled a new version of dll.exe with odd parity, and it worked fine... have a callback that works for the remote in unofficial 0.2.4 now... a bit unexpected though, with the (...) (24 years ago, 15-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: Strange crash (and possible fix)
 
(...) Well, it'd be nice to know, certainly, but I'm not going to look into it too hard. The fact is that it works wonderfully now. I compiled and downlaoded probably twenty versions of my program over the past two hours or so, and not a single one (...) (24 years ago, 14-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: Strange crash (and possible fix)
 
Mike- I wish I knew. I have frequently seen the same kinds of "random" changes produce better results. For example, I had one piece of code that used a switch statement- 19 statements in all. I added a 20th and poof... it froze. I have no idea what (...) (24 years ago, 14-Jul-00, to lugnet.robotics.rcx.legos)
 
  Strange crash (and possible fix)
 
I had a strange experience today. My program likes to crash a lot. I accept this as a fact of life now; part of it is the difficulty in debugging it, and part seems to be the beta-ness of legOS. However, today, I tracked down one particularly evil (...) (24 years ago, 14-Jul-00, to lugnet.robotics.rcx.legos)
 
  Seeking Programming Assistance
 
Hi, my name is Jude Tomasello. I am a US Army civilian and am currently taking a class in which we are involved in using the Lego Mindstorm as a simulation for an unmanned ground vehicle. Because of its versatility, we are using NQC instead of the (...) (24 years ago, 13-Jul-00, to lugnet.robotics.rcx.nqc)
 
  Re: Minor bug in DCP sound sensor support
 
Yeah, I noticed this in China at one of the first workshops there... and of course I hadn't tested the demo beforehand, so I had to quickly rewrite it with forks. This was back around April 15. (URL) :) -Ben (...) (24 years ago, 13-Jul-00, to lugnet.robotics.rcx.robolab)
 
  Re: LugNet links
 
Some time ago I asked the powers that be at lugnet to change the links, and never heard a word from them about it. Maybe it is time to hassle them about it again. Luis (...) ---...--- "Summertime... and the living is easy... fish are jumping and the (...) (24 years ago, 12-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: LinuxPPC success
 
(...) I would like to add it to the HOWTO, or at least to someplace where it is widely publicly available- probably with the instructions at (URL) On another note, where does one find the LNP stuff these days? Arthurdent (...) /Everything/ is a bad (...) (24 years ago, 12-Jul-00, to lugnet.robotics.rcx.legos)
 
  LinuxPPC success
 
Well, Dave's advice worked like a charm. Thanks, Dave! It seems like this would be a good thing to add to the HOWTO, although who knows how many other people want to use legOS on LinuxPPC. On another note, where does one find the LNP stuff these (...) (24 years ago, 12-Jul-00, to lugnet.robotics.rcx.legos)
 
  LugNet links
 
Hey, everyone. I was just checking out the lugnet page, and was thinking it might be a good idea to update the LegOS links. Perhaps include a link to SourceForge, and fix the HOWTO link. What do you think? And how does one go about this? ROSCO (24 years ago, 12-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: LegOS on LinuxPPC
 
(...) The problem is due to a bug in gcc 2.95. The assembly version of memcpy fixes the LegOS kernel, but all your user programs are subject to the same bug. Until it's fixed in gcc, you're stuck with egcs. Regards ROSCO (24 years ago, 12-Jul-00, to lugnet.robotics.rcx.legos)
 
  LegOS + Lego Remote
 
Hi All, I've tried patching LegOS 0.2.3 lnp_integrity_byte's state machine to capture the transmissions by the Lego remote. The problem is, I only get a response when I press some combinations of two remote buttons at a time, other combinations and (...) (24 years ago, 11-Jul-00, to lugnet.robotics.rcx.legos)
 
  dll 0.2.3 fails on SGI
 
Hello all, My first time on this list... I've been trying to get LegOS running in my recently aquired RCX 1.0. I created an egcs cross-compiler for Solaris. I used this to compile the kernel. The IR tower is connected to an SGI (an O^2 running IRIX (...) (24 years ago, 11-Jul-00, to lugnet.robotics.rcx.legos)
 
  [ANNOUNCE] LegoVision release 0.0.3 (alpha)
 
LegoVision provides a framework for adding vision to LEGO Mindstorms. More information can be found on the project homepage at (URL) the approach is quite narrow at the moment due to hardware restrictions - I only have a Video For Windows compatible (...) (24 years ago, 11-Jul-00, to lugnet.robotics.rcx)  
 
  Re: LegOS on LinuxPPC
 
(...) Ah, excellent. I saw this post when you posted it, but didn't think about it much at the time. I'll give this a shot and report back. Thanks very much. -- "Do not go gentle into that good night. Rage, rage against the dying of the light." - (...) (24 years ago, 11-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: LegOS on LinuxPPC
 
In article (...) I have had better luck with egcs-1.1.2 rather than gcc 2.95.2. I've heard that there's a problem with the way gcc 2.95.2 generates code for memcpy. I've also heard that the fix is to use an assembly version of memcpy instead of (...) (24 years ago, 11-Jul-00, to lugnet.robotics.rcx.legos)
 
  LinuxPPC gcc errors
 
Ok, I have some error messages here. I'm following the exact instructions in the HOWTO, except for using gcc 2.95.2 instead of egcs 1.1.2. I recall trying egcs with similar results. The make proceeds fine for a while. Then I get this message, and (...) (24 years ago, 11-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: Expanding the available input/output ports of the RCX
 
in article NEBBIHKHBKAFAGKCCILO...s@olf.com, Ram Meenakshisundaram at rmeenaks@olf.com wrote on 7/7/00 9:58 AM: (...) I am a Lego purist, so I don't want to modify my pieces. Of course, if Lego ever creates an official multiplexer, I'll probably get (...) (24 years ago, 10-Jul-00, to lugnet.robotics, lugnet.robotics.rcx)
 
  LegOS on LinuxPPC
 
I recall somebody writing to this list about a problem with LegOS under LinuxPPC, and the message seemed to imply that things were mostly happy. I can't make the compiler compile. I'm using gcc 2.95.2. The make proceeds for a good while, then I get (...) (24 years ago, 10-Jul-00, to lugnet.robotics.rcx.legos)
 
  Re: Expanding the available input/output ports of the RCX
 
Ram Meenakshisundaram schreef: (...) You could use the sensors that came with the Cybermaster kit, they have a built-in resistor so it should be possible to hook up two of those on one input port and by using RAW values see which switch is pressed. (24 years ago, 10-Jul-00, to lugnet.robotics, lugnet.robotics.rcx)
 
  RE: Expanding the available input/output ports of the RCX
 
Sure you can try using just three input/output ports, but eventually you end up scaling back you designs. Of course, you can always buy another RCX to increase the number of ports, which will throw you back $200. Adding a multiplexor is such an easy (...) (24 years ago, 9-Jul-00, to lugnet.robotics, lugnet.robotics.rcx)
 
  Re: Expanding the available input/output ports of the RCX
 
(...) [imho] It's sometime very creative to build your own multiplexer as it is a part of the project. [/imho] The site of Michael Gasperi has a lot of informations about those input multiplexer : (URL) (24 years ago, 9-Jul-00, to lugnet.robotics, lugnet.robotics.rcx)
 
  (canceled)
 
 
  Re: Expanding the available input/output ports of the RCX
 
(...) How about coming up with creative solutions within the limits of the hardware? In the real world, you can't always make it bigger and better, sometimes you have to do it another way. It's a much more interesting problem to "do it with only (...) (24 years ago, 8-Jul-00, to lugnet.robotics, lugnet.robotics.rcx)


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

Redisplay Messages:  All | Compact

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