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 / *1759 (-100)
  Re: video game type thing...
 
(...) No, it will not. Functions don't work like that, in general. If you want to call a function and have it run independently of the calling function, you must use execi() to start it. (24 years ago, 12-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: video game type thing...
 
Thanks for the response! Now I'm almost ready to test it. I just need to know if, when you have a call void function, and you then use the int main() to close the program with return 0;, will the void keep running? Here's my current copy, without (...) (24 years ago, 12-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: video game type thing...
 
Thanks for the response! Now I'm almost ready to test it. I just need to know if, when you have a call void function, and you then use the int main() to close the program with return 0;, will the void keep running? Thanks Nick Howell (...) (24 years ago, 12-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: video game type thing...
 
(...) I think you mean if (enemy == 1). Also, the identifier "fight" resolves to the address of the fight function. Doing "fight;" is equivalent to doing "1;". It's legal, but it doesn't accomplish anything. You want to do "fight();" and (...) (24 years ago, 12-Mar-01, to lugnet.robotics.rcx.legos)
 
  video game type thing...
 
I'm building a video game type thing. It has three touch sensors, for left, right, and fire. The LCD controls where the enemy is. I'm having some problems with my code, so here it is(I'm using kernel 0.2.4): #include "conio.h" #include "dmotor.h" (...) (24 years ago, 12-Mar-01, to lugnet.robotics.rcx.legos)
 
  RE: ROM Firmware size limit? Firmdl bug?
 
(...) The limit is in the checksum routine built into the RCX - it only does a sum up to 0xCC00! So you may need to fiddle with firmdl to allow a larger SREC image, but only checksum up to 0xcc00. Hope this helps. Ralph Hempel (24 years ago, 9-Mar-01, to lugnet.robotics.rcx.legos)
 
  ROM Firmware size limit? Firmdl bug?
 
Hi! I'm using legOS 0.2.4 on Cygwin, and since memory is tight, I thought I'd try statically compiling my program to an .srec file, and using firmdl3 to download it, since I can do without the keys,conio,task, and memory managment stuff. This works (...) (24 years ago, 9-Mar-01, to lugnet.robotics.rcx.legos)
 
  legOS papers?
 
The kernel documentation by Stig Nielsson references two papers that I have been unable to find by websearch: MK Christiansen, MH Pedersen, and T. Glaesner Solving the priority inversion problem in legos Technical Report, AUC, 2000 L Christensen, ST (...) (24 years ago, 8-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: compiling the kernel.
 
Hi Ciaran, Ciaran Jessup <ciaranjessup@myrealbox.com> wrote in message news:G9qF59.46r@lugnet.com... (...) came (...) No, it can't find genlds because it's not using the path - it's only looking in /legos/util/. This seems to indicate you haven't (...) (24 years ago, 5-Mar-01, to lugnet.robotics.rcx.legos)
 
  compiling the kernel.
 
hi, I'm trying to 'adjust' my kernel so it doesn't have sound support, or rotation sensor support, so I adjusted the config.h file, an went to legos root, make realclean; make .....and it came up with the following error (this is taken from a run (...) (24 years ago, 6-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: Simple RCX-PC communication
 
Ciaran Jessup wrote [snipped]: (...) Thanks for the offer, but after posting my question I decided to have a go at writing my own java solution, and having done so, I also like mine. Looks like all those software reuse lectures I took were wasted on (...) (24 years ago, 4-Mar-01, to lugnet.robotics.rcx.legos)
 
  showing my ignorance of makefiles :)
 
Hi, once again a stupid problem :) .. I've just moved all my code over from procedural C , to nice object orientated C++ legos code... the problem is... how does one compile in more than one file, at the minute I get around it by including my files (...) (24 years ago, 5-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: MOC: Tower crane
 
Hi all I posted this everywhere else, then realised maybe some of you here might be interested. It's not a robot, but uses 2 RCXs running legOS as controllers. It's my first major project using legOS! Regards, ROSCO (...) (24 years ago, 3-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: A humble contribution to the community
 
(...) now I can just go straight to your page! Together with the Windows version by Rossz Vámos-Wentworth at (URL) (I still haven't got around to trying this Rossz), we can install easily on both platforms! (...) Aren't they always 8?) ROSCO (24 years ago, 3-Mar-01, to lugnet.robotics.rcx.legos)
 
  A humble contribution to the community
 
Having installed legOS on a couple of machines and always having trouble remembering the most basic of command i have made this page (URL) that i (and whoever else might need some help) can easily do it again. Considered that we might be having some (...) (24 years ago, 3-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: almost made it, but need help..again :)
 
(...) Your problem is not the .so file (hasn't got to linking stage yet), but the .h file. You need to do: gcc -I/path/of/lnplib/includes name.c -o name or put the full path to lnplib.h in the include statement in name.c HTH ROSCO (24 years ago, 2-Mar-01, to lugnet.robotics.rcx.legos)
 
  almost made it, but need help..again :)
 
heh guys, im back..again :) have downloaded and installed lnpd. i have: export LD_LIBRARY_PATH=$LD_...lnp/liblnp so that my PC programs in ~/legOS/host/lnpd+li...plications can find the liblnp.so.x file. but i allways get an error when i try to gcc (...) (24 years ago, 2-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: kernel hacking in lnp.c (problem)
 
(...) The best way to do this kind of thing is to save the info you want to display in a variable or something, set a flag saying somethings there, and let another task display the data & reset the flag. You can see a simple implementation of this (...) (24 years ago, 1-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: kernel hacking in lnp.c (problem)
 
(...) Posting your code would help a lot :-). lnp_receive_packet() is called after the integrity layer has verified the checksum from an interrupt handler. So your code should be short e never call functions that wait or may cause a task switch. dll (...) (24 years ago, 1-Mar-01, to lugnet.robotics.rcx.legos)
 
  kernel hacking in lnp.c (problem)
 
hi everybody. in /kernel/lnp.c there is a function called lnp_receive_packet. here im trying to insert a function that will display whatever came in the data field when lnp_receive_packet was called. (interested in seeing everything, including (...) (24 years ago, 1-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: Simple RCX-PC communication
 
I to am working on a final year cs project and had exactly the same problem :) - I solved it by using the cygwin on win2k solution..very good :) And I wrote a small java package to deal with all the lnp stuff, so I could use java, now this will work (...) (24 years ago, 1-Mar-01, to lugnet.robotics.rcx.legos)
 
  Re: Cygwin question(s)
 
(...) Unfortunately not. :\ (...) Depends on how much you want to learn. If you really, really want to learn Unix, I strongly recommend the encyclopedic "Unix Secrets" by James Armstrong. Well written, great examples, and covers everything you might (...) (24 years ago, 28-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: Simple RCX-PC communication
 
(...) I guess I ought to add that WinLNP isn't any good to me since I want (as far as possible) to use the same code on both linux and windows, and besides I don't have any suitable windows dev tools. Kieran Elby (24 years ago, 28-Feb-01, to lugnet.robotics.rcx.legos)
 
  Simple RCX-PC communication
 
Hi! I'm working on a final year CS project which involves getting a lego robot to explore and map its maze-like environment, locate start and finish markers, then run between them. This is working pretty well, but I'd like to be able to download the (...) (24 years ago, 28-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: Cygwin question(s)
 
Hi (...) Yep, that works ;-) (...) Yep, that also works ;-)) Getting to grips with Unix by yourself is no easy task. Can you recommend any good sites or books to save me pestering people?? thanks mike (24 years ago, 28-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: Cygwin question(s)
 
I've used Cygwin some time ago, so my knowledge is not the best. Here are some thoughts based on my experience with Linux. Hope they help. (...) bash uses the backslash (\) as an escape-character. On Linux mount e:\ /e is equivalent to mount "e: /e" (...) (24 years ago, 28-Feb-01, to lugnet.robotics.rcx.legos)
 
  problems installing LNP
 
have downloaded dllx.tgz, lnpd+liblnp.tgz and lnpd.static have unpacked them into the $HOME/legos/host directory in lnpd+liblnp i have: make realclean make depend make all good so far in dllx i have: fixed the Makefile so that: (...) (24 years ago, 28-Feb-01, to lugnet.robotics.rcx.legos)
 
  Cygwin question(s)
 
Hi I have some problems with Cygwin B20. This may be a bit off topic, I'm not sure, but if I am can someone please point me in the right direction. I have legOS set up and running fine as directed in the howto, but I am having some problems with (...) (24 years ago, 27-Feb-01, to lugnet.robotics.rcx.legos)
 
  Remote control patch
 
Hi all. I've uploaded Chris Aquila's remote control patch to Sourceforge. I've included a README, and a user-space module to make using it a bit easier. Just look under the patches section in the legOS project. Regards, ROSCO (24 years ago, 25-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: multiple "execi" with different priorities
 
(...) have (...) Yes, I actually went & checked after I'd posted. Maybe I should've checked before 8?) Anyway, Stig Nielsson emailed me the following, which explains it a lot better, and will probably be useful for Thanasis to work out the original (...) (24 years ago, 23-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: multiple "execi" with different priorities
 
(...) Actually legOS multitasking is preemptive :-) bye Bernardo (24 years ago, 22-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: multiple "execi" with different priorities
 
(...) of (...) The call looks fine, but as Bernado said, you have to make sure that higher priority tasks relinquish control regularly. IIRC all tasks of a given priority must get a slice before any lower priority tasks get any slice. And remember (...) (24 years ago, 21-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: multiple "execi" with different priorities
 
(...) That line seems ok to me. Setting priority for a task above 10 (normal priority) may cause starvation to other tasks. This depend on what your function process() does. If it never waits (using calls like wait_event(), sleep(), sem_wait()...) (...) (24 years ago, 21-Feb-01, to lugnet.robotics.rcx.legos)
 
  multiple "execi" with different priorities
 
Hi, I am trying to run three different tasks, with the "execi" command. When all of the have the same priority=10, everything works ok. When I change the priority in one of them priority=11 or 12, then everything seems to go much slower, and (...) (24 years ago, 21-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: problems installing binutils 2.9.1
 
Close. Its in glibc-devel. On my (originally RH 6.0) box its glibc-devel-2.1.1-6.rpm, your version number may be different. Regards, ROSCO (...) (24 years ago, 21-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: problems installing binutils 2.9.1
 
Kenneth, Looks like you may not have the standard C include files installed. I'm currently at work, with no access to Linux 8?( so not sure which RPM they're in. Is it gcc-devel or something like that? I'll check when I get home. Regards, ROSCO (...) (24 years ago, 20-Feb-01, to lugnet.robotics.rcx.legos)
 
  problems installing binutils 2.9.1
 
sigh....i need some help here guys. im trying to install legos on my libm thinkpad running red hat 6.2 i have downloaded the binutils-2.9.1 and egcs-1.1.2 i am currently trying to do "make all" (just after doing the ../binutils-2.9.1/configure part) (...) (24 years ago, 20-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: Got Motors?
 
(...) I do beleive they mean eToys, try here: (URL) (24 years ago, 20-Feb-01, to lugnet.robotics.rcx.legos, lugnet.robotics, lugnet.robotics.rcx)
 
  Re: Got Motors?
 
(...) Do you mean Toys-R-Us? And if so, where? Matthias Jetleb VA3-MWJ (24 years ago, 20-Feb-01, to lugnet.robotics.rcx.legos, lugnet.robotics, lugnet.robotics.rcx)
 
  Re: Got Motors?
 
(...) Who exactly is selling the motor kits? (24 years ago, 19-Feb-01, to lugnet.robotics.rcx.legos, lugnet.robotics, lugnet.robotics.rcx)
 
  Got Motors?
 
If you need motors, check out toys. They are clearing out their stock (I've heard April they're outa-here) and everything is on sale. The 8735 Technic motor kit was 24.?? last time I looked. Shipping is a tad steep, so you may want to get several at (...) (24 years ago, 19-Feb-01, to lugnet.robotics.rcx.legos, lugnet.robotics, lugnet.robotics.rcx)
 
  Re: execi and C++
 
(...) I've spoken too fast. Re-reading the error message I saw the real problem. "controlThread" or "&controlThread" are the same. You should add a cast: execi(&controlThread, 0, (char **)NULL, 2, DEFAULT_STACK_SIZE); NULL is defined mem.h as (...) (24 years ago, 18-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: execi and C++
 
(...) In C you should call execi() like this: execi(controlThread, 0, NULL, 2, DEFAULT_STACK_SIZE); /* Removed `&' */ since a function is like an array name: it is an address. Probably the same applies to C++. bye Bernardo (24 years ago, 18-Feb-01, to lugnet.robotics.rcx.legos)
 
  execi and C++
 
Hi all, sorry if this is a rediculously trivial problem, but I'm having some problems with execi on legos0.2.5 , I can't seem to get g++ to compile when I use it, I pass it a 'correct' function.....like so : int controlThread(int argc, char **argv) (...) (24 years ago, 19-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: LegOS and the Downloader....
 
(...) Nick, 0.2.5 is the latest, but there may be a packaging problem as Luis has said. In regards to Makefiles: In the LEGOS_ROOT directory should reside Makefile.common and Makefile.user In your application directory should reside Makefile (no (...) (24 years ago, 17-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: LegOS and the Downloader....
 
(...) I can do the packaging, if you'd like. I'm not sure what to do once I've created the archive (where do I put it?). If this is ok with you, send me the instructions for posting a release. Alternately, I can email the package to Paolo and he can (...) (24 years ago, 17-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: LegOS and the Downloader....
 
0.2.5 is the most recent, but there have been a number of problems reported with my (admittedly slightly sloppy) packaging of it. There will be an 0.2.6 with fixes for these problems, but unless someone else steps up and does it, it won't happen (...) (24 years ago, 17-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: LegOS and the Downloader....
 
OK, I tried putting a makefile.common in the root directory(it turns out that I found it in the /util folder). It didn't work. My project folder is "test" and my file is "test.c", so I replaced the Makefile.common in the "test" folder with the (...) (24 years ago, 17-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: LegOS and the Downloader....
 
I thought that was a little weird that I didn't have a makefile.common in my root legOS directory! Will it work to just copy it from "/legOS/demo/"? I'm going to try it. I'll get back soon. Nick (...) (24 years ago, 17-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: LegOS and the Downloader....
 
(...) I'm not sure I'm understanding what you have done, so excuse me if I'm a little pedantic. In your root legOS directory you have these files: Makefile.common and Makefile.user. Both are coming from the legOS distribution archive (their length (...) (24 years ago, 16-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: LegOS and the Downloader....
 
(...) Is your test.c in the demo directory? If not, you have to copy the Makefile from the demo dir to where your test.c is, and change: 1. The line starting KERNEL= should point to your kernel directory. I usually change mine to: (...) (24 years ago, 16-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: LegOS and the Downloader....
 
Oh. I just realized that now I get a different error message: "*** No rule to make target 'test.lx'. Stop. (...) (24 years ago, 16-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: LegOS and the Downloader....
 
Tried. Is there some editing job you're supposed to do on it? Nick (...) (24 years ago, 16-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: bug fixes
 
(...) Well, as far as Cygwin on Windoze goes, I'm pretty much a "dummy" user too! Regards, ROSCO (24 years ago, 16-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: LegOS and the Downloader....
 
(...) It seems that Make can't find `Makefile.common'. This file should exist in the root legOS directory, it's included in the archive. Have you checked if such file exists? (...) Everyone seems a jerk before becoming a master :-). bye Bernardo (24 years ago, 15-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: LegOS and the Downloader....
 
Well, I upgraded my kernel. Now I get a new error message: "***No rule to make target '../Makefile.common'. Stop" Any idea about this one? Nick (PS: Sorry if I'm acting like a jerk; I'm new at this sort of thing.) (...) (24 years ago, 15-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: Clearing the firmware
 
Ok, big surprise: it turns out I'm a moron. It was cleared all along, for some strange reason I was expecting the "00:00" to come up in boot mode - I forgot that was part of the Lego firmware, not the boot code. I guess thats what happens when I (...) (24 years ago, 14-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: bug fixes
 
On Tue, 13 Feb 2001 22:35:16 GMT, "Paolo Masetti" <paolom@pragmanet.it> wrote: <SNIP> When you're interested in a "dummy" user i'll go for it. Harald (24 years ago, 14-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: Clearing the firmware
 
Hold the on/off button while pressing run. Rick Byers <RickB@BigScaryChildren.net> wrote in message news:G8q7D1.3yA@lugnet.com... (...) (while (...) to (...) doesn't (...) (24 years ago, 14-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: Clearing the firmware
 
Rick, I believe that you take a battery out and turn the thing on, which will reset it to firmwareless mode. Then you just download the lego firmware to it as if you had just gotten a new rcx. Nick (...) (24 years ago, 14-Feb-01, to lugnet.robotics.rcx.legos)
 
  Clearing the firmware
 
Hi, I've just installed LegOS 0.2.5 and its working great! However, I'd like to temporarily put the original lego firmware back on. How do I erase the legOS firmware so that the ROM bootstrap code will permit the Mindstorms software to download its (...) (24 years ago, 14-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: bug fixes
 
(...) it may be (...) Where can I (...) I'll attach them in next message I will send to you. :-) (...) problem, (...) Let's try... Bye, Paolo. --- First Postulate of Isomurphism: Things equal to nothing else are equal to each other. (24 years ago, 13-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: Using the serial port of an NCD terminal.
 
Cool, thanks! I have an old NCD in the garage, I never realized it can be turned into an internet-to-serial-port bridge! -gyug (...) (24 years ago, 13-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: LegOS and the Downloader....
 
Well, it wasn't that one. I already got and fixed that one. It says: "cannot load legOs executable from:" and then it gives me the name of my attempted file. It's not specifically my program, because none of the demos like helloworld.lx will load, (...) (24 years ago, 13-Feb-01, to lugnet.robotics.rcx.legos)
 
  Using the serial port of an NCD terminal.
 
Hello legOS fans, I have written a hack to make it possible to connect the IR tower to a NCD terminal. Here at university we are using those fan less terminals, while the servers are in another room. A NCD has a serial port, that is accessible via (...) (24 years ago, 13-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: LegOS and the Downloader....
 
Nick, It'd be helpful to know what the message was! I sometimes get "error deleting program" messages, and have to "re-boot" the RCX & re-install legOS.srec. I'm not sure what causes this, but it happens so rarely that I haven't investigated (yet). (...) (24 years ago, 13-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: bug fixes
 
(...) My web page at (URL) This is for DJGPP, not Cygnus. Rossz (24 years ago, 13-Feb-01, to lugnet.robotics.rcx.legos)
 
  LegOS and the Downloader....
 
I just installed LegOS last night, made my first few not-too-complicated programs today, and downloaded them. They worked fine, up until I found the bugs. I tried to download a new, updated version of my program, and got an error message. (24 years ago, 13-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: bug fixes
 
Paolo Masetti <paolom@pragmanet.it> wrote in message news:G8o1Fv.2uG@lugnet.com... (...) Well, I'm looking to set up legOS on my new (dual-boot) laptop, so it may be a good chance to check out the Windoze development environment. Where can I get (...) (24 years ago, 13-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: bug fixes
 
(...) from (...) has... (...) :-) Hi. Here I am. No sea waves, sorry... ;-))) Only a lot of work and two sons :-). I'm actually working in finalizing cygnwin 1.1 instructions (if someone want to test them let me know). My beta testers are a bit slow (...) (24 years ago, 12-Feb-01, to lugnet.robotics.rcx.legos)
 
  Play pcm on the RCX
 
I think this item has been discused sometimes but I have discovered RIS, just last Christmas. Has anyone played a pcm wave? I know how to play it on a PC speaker, but I don´t know a lot on H8 architecture and so on the timers (24 years ago, 2-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: legos 0.2.4 and LNP
 
(...) You should look in the kernel source. In lnp.c there is the lnp_integrity_byte() function which is called every time a byte is received. You could modify it to display data as soon as it's received, or copy it in a buffer for later display. (...) (24 years ago, 8-Feb-01, to lugnet.robotics.rcx.legos)
 
  legos 0.2.4 and LNP
 
hi everybody. im currently trying to insert a radio device on my RCX so as to get radio communication between my computer and my RCX, but im having some trouble. my electronics guy cant quite get it to work and as such has asked me to display all (...) (24 years ago, 8-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: DC output at motor max speed with legOS
 
(...) So motor_a_speed(MAX_SPEED) is not enough, since it turns the motor off every 256 ms for a single ms? I have an idea how to change the code to make the output really constant, patch attached. A side-effect of this change is that (...) (24 years ago, 6-Feb-01, to lugnet.robotics.rcx.legos)
 
  DC output at motor max speed with legOS
 
Hi, I am trying to control a stepper motor with LegOS, and I need to have a constant DC output from a motor output, like when I choose speed(8) with the Lego firmware, so I can turn it on and off to make pulses of the duration I choose. Is this (...) (24 years ago, 6-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: Legos 0.2.5 and Win2k
 
If you can get in touch with Paolo directly, I believe he said that he had 0.2.5 running under Cygwin 1.0. If you can get his compiler packages for that, the newer Cygwin may help with W2K. And of course you can always go to www.redhat.com for a (...) (24 years ago, 6-Feb-01, to lugnet.robotics.rcx.legos)
 
  Legos 0.2.5 and Win2k
 
Has anyone had any luck getting legos 0.2.5 to work under Windows 2000, I'm running 0.2.4 quite cheerfully under cygwin b20 , but 0.2.5 refuses to compile...and in the new cygwin legos 0.2.4 refuses...argg if only I wasn't so dumb :) - ciaran (24 years ago, 6-Feb-01, to lugnet.robotics.rcx.legos)
 
  VLL in legOS 0.2.6?
 
Why not add the VLL stuff to 0.2.6 release? The post of the Ben Jackson is in (URL) (24 years ago, 6-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: bug fixes
 
And of course Paolo can take care of stuff too... I haven't heard from him in a while though either, so I have no idea how much time he has... Paolo? Out there? <waves> hi! ;) Luis (...) (24 years ago, 6-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: bug fixes
 
(...) Well, if we collect enough patches from folks then feel free to coordinate a release. It isn't like there are tons of bugs or new functionality floating around, but there were clearly a whole lot of niggling small bugs from 0.2.5, so maybe if (...) (24 years ago, 6-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: bug fixes
 
I would have no objections to taking over some the responsibilities, especially those related to releasing versions. It's what I do best, anyway. I'm sure there is someone more qualified with the administrator aspects, but if no one else volunteers, (...) (24 years ago, 6-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: LEGO remote and LNP (legOS 0.2.4)
 
Luis, I can do a quick HOWTO (though it'll only cover Linux) & post this patch. I think it'd be useful, anyway. It applies cleanly to 0.2.5 as well. Regards, ROSCO Luis Villa <liv@duke.edu> wrote in message news:Pine.GSO.4.10.1...uke.edu... (...) (...) (24 years ago, 6-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: LNP and Lego Remote
 
Hi Paolo, I know this is a kind of old message, but I was just wondering what's happening in this direction? I'm currently using Chris Arquiza's patch (which works fine against 0.2.5) but wondering whether there's something new & improved around the (...) (24 years ago, 6-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: bug fixes
 
Hey, all. I'm sorry I've been neglecting stuff (Stephen and Rossz, that mainly means you guys :| I've had a combination of a crud-load of work and some serious personal troubles to deal with. Unfortunately, I'll be mainly out of the loop until late (...) (24 years ago, 6-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: bug fixes
 
(...) Luis Villa is the person to grant access. I haven't seen him around recently. I'm sure he'll get back to you when he can. Rossz (24 years ago, 6-Feb-01, to lugnet.robotics.rcx.legos)
 
  bug fixes
 
Hi. I have been playing with legOS (the current version in CVS at sourceforge), and have found a few bugs in it. Several of these are filed at the sourceforge site, so I'm wondering what the protocol is for getting these fixed. I can submit patches (...) (24 years ago, 5-Feb-01, to lugnet.robotics.rcx.legos)
 
  legOS 0.2.5 available in Debian GNU/Linux distribution
 
legOS and the required cross compilers for C/C++ are immediately available for Debian GNU/Linux from the Debian mirrors. For a quick link to the package-description-page (you can download from here too) see: (URL) all means enjoy! If you experience (...) (24 years ago, 4-Feb-01, to lugnet.robotics.rcx.legos)
 
  legOS IDE
 
Something slightly offtopic: For some time I was searching for a usable IDE edit / compile system I wanted to use for the writing legOS programs. What I found is an editor called cooledit (can be found at cooledit.sourceforge.net). Cooledit has all (...) (24 years ago, 2-Feb-01, to lugnet.robotics.rcx.legos)
 
  Re: legOS lcd management and thoughts on velocities
 
Hello jochen, (...) Thank you for your precision about your velocity handler For now, unfortunaly my the hard disk does not boot any more, and, fortunatly, my wife gave birth to a girl on wednesday! So I'll test all those nice handlers in a few (...) (24 years ago, 2-Feb-01, to lugnet.robotics.rcx.legos)
 
  lnp..again :)
 
hi everybody. im trying to figgure out how to display everything that is sent with the LNP protocol from one rcx to another. That is, im not only interested in the data im sending, but also the adressing overhead and whatever else is sent..... (...) (24 years ago, 1-Feb-01, to lugnet.robotics.rcx.legos)
 
  LNP checksum optimizations
 
In a previous post I said that some optimizations can be made in LNP. Now I have the patch ready and uploaded it on sourceforge. Sadly I made it against a custom version of the kernel, so it may need a manual intervention to apply (fuzzyness (...) (24 years ago, 31-Jan-01, to lugnet.robotics.rcx.legos)
 
  Re: legOS lcd management and thoughts on velocities
 
(...) The timeout is really "expected time till next rotation tick + 50 %". And the velocity will not drop to 0, because my code assumes, a new rotation could happen any moment. If you check for speed < 7 ticks/sec (or 142 msec/tick) you should get (...) (24 years ago, 29-Jan-01, to lugnet.robotics.rcx.legos)
 
  Re: legOS lcd management and thoughts on velocities
 
Thank you Jochen for your answer. If I well understand the ds_rotation_handler code, the timeout is set to 1 second. So the velocity may drop to zero 1 second after wheels really stop. In the specific case of my robot (I call it R2D1), this will be (...) (24 years ago, 27-Jan-01, to lugnet.robotics.rcx.legos)
 
  Re: legOS lcd management and thoughts on velocities
 
(...) Yes, I have written that support. First you have to enable it, by removing the comments from the line in legOS/boot/config.h. Then recompile the kernel and all apps. After you have programmed the rotation sensor in the usual way you can read (...) (24 years ago, 26-Jan-01, to lugnet.robotics.rcx.legos)
 
  Re: sleep efficientcy
 
(...) value (...) There are two issues: 1 do you want to do anything while waiting, 2 how quick do you want to respond to the event. In both cases using an event is better. You can do something else until the event happens (synchronization issuses (...) (24 years ago, 25-Jan-01, to lugnet.robotics.rcx.legos)
 
  Re: sleep efficientcy
 
(...) value (...) Ross, I can't speak about efficiency - I dont know enogh about embedded programming, but I've had better results using wait_event. I've tried both msleep() and yield() in a loop, and just calling wait_event with a function that (...) (24 years ago, 25-Jan-01, to lugnet.robotics.rcx.legos)
 
  sleep efficientcy
 
Hi again, i would like to know which is more efficient in code? having a while loop which is checking for a condition to be true and sleeping for an arbitary value while it is not, or using a wait_event statement passing a function pointer to a (...) (24 years ago, 25-Jan-01, to lugnet.robotics.rcx.legos)
 
  Re: Parallel sensor problem
 
(...) That isn't the problem. I reversed the sensor on one RCX, and they both showed it as being constantly pressed, so that must be the wrong polarity. But I also tried moving it from input 2 to 3. Works fine. Same programs, everything, it works in (...) (24 years ago, 24-Jan-01, to lugnet.robotics.rcx.legos)
 
  Re: LegOS 0.2.5 and LNP
 
(...) after (...) old (...) That's true. I've noticed it. I was speaking of PC implementation. (...) semaphore (...) in a (...) instruction (...) wait (...) of the (...) shouldn't (...) Ok, perfect. I vote for the semaphore implementation. I also (...) (24 years ago, 24-Jan-01, to lugnet.robotics.rcx.legos)
 
  Re: C++ OverHead
 
Hi, The answer here depends on your coding style. If you are using non-derived concrete classes, with simple member data and the default constructor/destructor, then it costs ~10-20 bytes/class. If you are using non-derived concrete classes, with (...) (24 years ago, 24-Jan-01, 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