| | trouble compiling brickOS
|
|
Hi! I am pretty new to lego and I started for a few days to make my rcx work under Linux. After I passed all the makefile issues, gcc 3.3 mlsl problems, I still get this error from memcpy.c: make[1]: Entering directory (...) (21 years ago, 3-Sep-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: Maths functions
|
|
Make my day. "nanobapt" <nanobapt@wanadoo.fr> wrote in message news:3F50F04C.204090...adoo.fr... (...) have (...) (21 years ago, 31-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: Maths functions
|
|
(...) That's nor really difficult ... nanobapt (21 years ago, 30-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: Maths functions
|
|
Natural log (ln), and square root. Also useful would be x^y where x and y have fractional parts. I see you have done it with just x as a float and y as an int. This would incorporate the square root by doing x^1/2 "nanobapt" <nanobapt@wanadoo.fr> (...) (21 years ago, 30-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: Maths functions
|
|
(...) What do you need more than I wrote ? nanobapt (21 years ago, 30-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: Maths functions
|
|
I've posted an enhancement request on the sourceforge website for someone to write a full math.h. I would do it myself but my programming skills aren't very good. Your math.h looks like a good start. Hopefully someone will build on that. Thanks for (...) (21 years ago, 30-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: Maths functions
|
|
(...) (URL) (21 years ago, 29-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Maths functions
|
|
I'm having trouble finding a maths header file. It's usually called "math.h". I need to do stuff like sine and cosine, and use the "abs" function to make a number positive. Does a file like this exist? Are there any plans to incorporate a maths (...) (21 years ago, 29-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: Threads within threads
|
|
(...) Have you tried to run this code? I wonder what will happen "in real life". Actually, main will start monkey and cow as fast as possible. I think this will crash your stack after a short while. Regards, Michael (21 years ago, 29-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Threads within threads
|
|
Is it possible to use threads within threads? In the example below (with all 6 threads having different priority levels), how does the priority setting of each thread affect it being executed earlier than other threads? I mean, I assume that thread1 (...) (21 years ago, 27-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: BrickOS installation with WinME and Cygnus problems
|
|
(...) Tom, What is this two-day workshop on RCX code that you mentioned? Ed (21 years ago, 20-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: BrickOS installation with WinME and Cygnus problems
|
|
(...) Christoph, No, I have not yet solved the problem, but I intend to get back on it soon. I've been busy the past week preparing to present a two-day workshop on RCX Code. Now back to BrickOS (if I can get it working). What a change of gears! Let (...) (21 years ago, 19-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: gcc-3.3 - multi-line string literals
|
|
Thanks for the patch....but... Sorry to be such a NOOB but...how does one go about using this patch? I've gotten things to compile/make, generating .srecs and .lx's but sick and tired of scrolling through those deprecated multiline warnings. I'll (...) (21 years ago, 19-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: BrickOS installation with WinME and Cygnus problems
|
|
.... (...) Hi Tom, I've exactly the same error coming up istalling brickOS 0.2.6.10 or 0.2.6.9 and cygwin 1.3.22 on an WinME machine. If I delete the code in random.c make hangs up at the next file... Did you fix the problem already?? Christoph (21 years ago, 19-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: Errors compiling BrickOS Demos
|
|
(...) ... (...) Binutils, from 2.12 (IIRC) up to 2.13.1 produced malformed symbolsrec files. Use a later version of binutils. Max. (21 years ago, 19-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Errors compiling BrickOS Demos
|
|
Hi, I'm trying to get brickos working on a linux box running mandrake. I downloaded gcc-2.95.3 and binutils-2.13.1 and compiled them to make a cross compiler. That seems to have worked successfully. Then I ran ./configure;make to make brickos (...) (21 years ago, 19-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: BrickOS on Mac OS X
|
|
(...) Dave, We look forward to hearing how these tools work out for you. You should try Michael Zapp, (URL) about the USB applications. Ed (21 years ago, 16-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: Question about mm.C in BrickOS
|
|
Thanks to both of you, I was pretty close to my understanding of it, but I did not know about the "new block creation behind the current block" but it makes sense now, if I have any other question (I am sure I will) I will def. ask. Thanks again, (...) (21 years ago, 14-Aug-03, to lugnet.robotics.rcx.legos)
|
|
| | Re: USB/Serial Converter
|
|
Somewhere on the LEGO site it says that Serial > USB is not compatable -- If you must, why not just buy a USB IR tower from PITSCO LEGODacta for $30? If you have the SDK 2.5, or even the SDK 2.0, it comes with the driver for the USB tower (in the (...) (21 years ago, 14-Aug-03, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
|
|
| | Re: BrickOS on Mac OS X
|
|
Man, this is fantastic. Since moving over to OS X about a year and a half ago, I've been ignoring my RCX (retired the tired/crash prone PC forever!! Running Linux now though) and haven't played with it for lack of a development environment for OS X. (...) (21 years ago, 13-Aug-03, to lugnet.robotics.rcx.legos)
|