 | | Re: Linking failure when 'making' an lx file
|
|
(...) Syntax error: you are missing a parenthesis at the start, right after the if. But gcc should give a fat error at the ">" sign I believe. if( COND ) STATEMENT; if( (ul_var1 - ul_var2) > sizeof(uchar)) STATEMENT; (...) It is miraculous that the (...) (26 years ago, 25-Mar-01, to lugnet.robotics.rcx.legos)
|
| |
 | | Re: Memory Usage
|
|
(...) Having written a few embedded-systems compilers, I must say that using floating point on an 8-bit chip like the H8 is generally considered crazy. The values eat memory, and the libraries drawn in can get really large (at least for a production (...) (26 years ago, 25-Mar-01, to lugnet.robotics.rcx.legos)
|
| |
 | | Library use in LegOS
|
|
Hi! Another technical question about LegOS: how are libraries like float handled today? Is there one copy linked into LegOS, or is each downloaded program equipped with its own copy? If I would use a different compiler, with a different set of (...) (26 years ago, 25-Mar-01, to lugnet.robotics.rcx.legos)
|
| |
 | | Re: pass by refrence or value?
|
|
Some basic facts about C semantics: As already stated, globals MUST be volatile if they are accessed by more than one thread, otherwise reads and writes can be out of sync. What are the types of the variables involved? Scalar values like integers (...) (26 years ago, 25-Mar-01, to lugnet.robotics.rcx.legos)
|
| |
 | | Re: Obstacle detection : infrared sensor ??
|
|
(...) We have done this in C using LegOS (it is much easier to get it off the ground in nqc). The principle is simple: * Attach the light sensor in front of the brick, close to the IR tranceiver. preferably in a low position, since you want to (...) (26 years ago, 25-Mar-01, to lugnet.robotics.rcx.legos)
|
| |
 | | .lx format
|
|
Hi! I am presently helping some PhD students here at my university prepare the labs for a real-time course using LegOS. As part of the course, we want our students to experience a modern development environment for embedded systems, and have (...) (26 years ago, 25-Mar-01, to lugnet.robotics.rcx.legos)
|
| |
 | | Re: Obstacle detection : infrared sensor ??
|
|
(...) Yeah, I built a robot and programed it whith a nqc program that someone else wrote. I dont't remember who and I don't have any links, but I do remember how it worked The rcx would send out a infarad message every cauple of mlseconds and a (...) (26 years ago, 25-Mar-01, to lugnet.robotics.rcx.legos)
|
| |
 | | Re: Solar Cell Output in Direct Sunlight
|
|
(...) Well, I could certainly create an artificial environment which would increase the solar cell's output without the need for scheduling another test on the summer solstice, if you were merely curious as to its maximum output based on the cell's (...) (26 years ago, 25-Mar-01, to lugnet.robotics, lugnet.dacta)
|
| |
 | | Re: Analogue Control of Pneumatics
|
|
Perhaps TLG should be meeting companies that produce valves of the same quality as those mentioned. It also sounds like the timing belt used for the test bed could be replaced or reinforced even more. -- Cheers ... Geoffrey Hyde "Xanthra47" (...) (26 years ago, 25-Mar-01, to lugnet.build, lugnet.general, lugnet.technic, lugnet.robotics.rcx)
|
| |
 | | Re: Solar Cell Output in Direct Sunlight
|
|
(...) I'd suggest that you try this again mid-summer. The solar radiation angle is still fairly low at this time of year with much of the energy being scattered by the atmosphere as well as being spread over a larger surface area of the earth. I (...) (26 years ago, 25-Mar-01, to lugnet.robotics, lugnet.dacta)
|