| | Re: Strange BrickOS Timing
|
|
Hi Gunther, (...) have (...) I'm NOT really an expert in brickOS, but these are the sources of delay and msleep: void delay(unsigned ms) { unsigned i; while (ms-- > 0) for (i = 0; i < 600; i++) // not well calibrated. ; } //! delay execution (...) (21 years ago, 3-Dec-03, to lugnet.robotics.rcx.legos)
|
|
| | Strange BrickOS Timing
|
|
Hello out there, maybe someone can explain to me why the current brickOS release seems to have msleep()-amnesia ;-) We've been testing the data transfer to our Lepomux device. For some strange reason we were still using kernel 0.2.6.07nmChg with a (...) (21 years ago, 2-Dec-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: GP2D12 Please help
|
|
Hi Sebastian, (...) I don't know the schematics of that sensor interface, but I think it's basically a bad idea to drive a device that needs 30 to 50 mA from a powersource that can only output about 10 mA. I've experienced similar effects while (...) (21 years ago, 2-Dec-03, to lugnet.robotics.rcx.legos)
|
|
| | math library
|
|
Hello all. About a year ago I researched math functions so I could write some for the RCX. I found some power series functions that work really well. I see another message here posted by "nanobapt" has also posted some functions so I tested his (...) (21 years ago, 29-Nov-03, to lugnet.robotics.rcx.legos)
|
|
| | GP2D12 Please help
|
|
Please help. I just recently got a Sharp GP2D12 ir distance ranger plus RCX interface device from mindsensors. It is pretty cool, however I am getting alot of flucuation in the readings and in turn I think that i am losing out on range. The maximum (...) (21 years ago, 29-Nov-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: Help w/install _or_ It all went so well
|
|
(...) You should uninstall cygwin and delete its directory tree if it is left behind. Then run both installers (the brickoslejos installer second) and you should be ready to go. You don't need to do a configure or make of brickOS if you use these (...) (21 years ago, 20-Nov-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: Help w/install _or_ It all went so well
|
|
No,I didn't know they existed. What steps should I take to use the installer in an already existing install? -Wes (...) (21 years ago, 20-Nov-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: Help w/install _or_ It all went so well
|
|
(...) Did you consider using my all-in-one pre-built installers? (URL) work well with XP & W2K (and presumably Win2003). There are problems with earlier OS versions. I've had several people tell me that using these pre-built installers was much (...) (21 years ago, 18-Nov-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: Help w/install _or_ It all went so well
|
|
hmmmm.... Now I have a different problem - the next step in the process: $ make strip strip fontdesign.exe strip: fontdesign.exe: No such file or directory make: *** [strip] Error 1 Is there a missing step to create fontdesign.exe? (21 years ago, 18-Nov-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: Help w/install _or_ It all went so well
|
|
Thanks. This solved the initial problem which revealed a second... genlds.c has two printf() statements that have multi-line string args. I appended '\' to the end of all these and everything compiled fine. Now to test things. -Wes (...) <snipped (...) (21 years ago, 18-Nov-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: Help w/install _or_ It all went so well
|
|
Or ( IMO ) better yet, just macro every line between 152 and 171, that's what I did, saved the trouble of another install... Put this on each line around the assembly code: __asm__(""); Make sure you keep the indent spacing also: label: should be: (...) (21 years ago, 14-Nov-03, to lugnet.robotics.rcx.legos)
|
|
| | Compiling Classes
|
|
I have several large classes in external .h and .cpp files that are added to my project and compiled into the .lx. I found that when I changed the number of calls to a major procedure from 2 down to 1, the final program size went down 20%. Are these (...) (21 years ago, 13-Nov-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: Help w/install _or_ It all went so well
|
|
(...) [...] (...) Well it looks like the gcc-version-problem I had. The gcc >=3.x do not allow multiline strins without "\" anymore, which are still uses in brickos. So my hint is to install a gcc 2.95 and everything should work fine... Note: This (...) (21 years ago, 12-Nov-03, to lugnet.robotics.rcx.legos)
|
|
| | Help w/install _or_ It all went so well
|
|
_warning_ I'm new to BrickOS, so be patient. I've just attempted to install using the instructions at (URL) went fine until step 4 command './configure; make' which looked like this: ... $ ./configure; make Welcome to the brickOS Makefile (...) (21 years ago, 12-Nov-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: Simplifying Cygwin & brickOS/leJOS
|
|
(...) Suggestion, dont use Cygwin at all. Provide a pre-compiled version of: 1.GCC built for host=MingW (ligtweight toolchain for win32 systems that doesnt need bulky cygwin dlls) and target=rcx or whatever. 2.the BrickOS tools buit using MingW and (...) (21 years ago, 11-Nov-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.rcx.java)
|
|
| | Re: Simplifying Cygwin & brickOS/leJOS
|
|
(...) I'm looking into the problems that have been reported to me regarding using the pre-built compiler tools & cygwin on Win98. (...) IC4, so far as I can tell, doesn't have a command-line compiler which makes it quite a bit more difficult to (...) (21 years ago, 8-Nov-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.rcx.java)
|
|
| | Re: Simplifying Cygwin & brickOS/leJOS
|
|
(...) Dear Scott, Unfortunately it is still true that Interactive C does not support the USB-tower, but I am pretty sure this will be changed with the further releases (I recently bought a serial-tower at Shop.Lego for 16.99 Euro only!). But it (...) (21 years ago, 6-Nov-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.rcx.java)
|
|
| | Re: Simplifying Cygwin & brickOS/leJOS
|
|
(...) I'm just passing the following on for everyone else to read. scott Hi Scott, I don't have posting privs to all these lugnet lists, but just want to let you know that actually IC does support encoders (rotation sensors). It's just not (...) (21 years ago, 6-Nov-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.rcx.java)
|
|
| | Re: Simplifying Cygwin & brickOS/leJOS
|
|
Hi A while ago I looked at using IC for writing programs. At the time there were 2 major turnoffs. There was no support for rotation sensors and you needed to own one of the serial infrared towers. It was easy to install and it had its own firmware. (...) (21 years ago, 5-Nov-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.rcx.java)
|
|
| | Re: Simplifying Cygwin & brickOS/leJOS
|
|
Dear John, Thank you very much for the further improvement of Brixcc! I could install the package including brickOS on a Win 98 system as well as download the related firmware, but could not compile any of the demos!? Besides that: You said: "Of (...) (21 years ago, 5-Nov-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos, lugnet.robotics.rcx.java)
|