 | | Compiling or linking problem
|
|
I am having a problem compiling any program. I'll use helloworld.c that comes with legos as an example. This is the output of my terminal: $ make helloworld.lx /usr/bin/h830-hitachi-hms-ld -T ../boot/legOS.lds -relax -L/usr/lib/legOS/lib (...) (25 years ago, 29-Nov-01, to lugnet.robotics.rcx.legos)
|
| |
 | | Re: COLOR light sensor
|
|
(...) Would it not be better to have 3 'eyes' each with a different filter. Red, Blue and green coloured filters. We used to do this for digitizing. Doesn't this application following the same rules? Since each 'eye' would have a different reading (...) (25 years ago, 29-Nov-01, to lugnet.robotics.rcx)
|
| |
 | | BricxCC release 3.3.2.12
|
|
I've uploaded release 3.3.2.12 of BricxCC. A previous release (3.3.2.11) implemented support for COM5 through COM8. Existing users that have saved a default USB port will have to re-establish their default if they upgrade to this release. In (...) (25 years ago, 28-Nov-01, to lugnet.robotics.rcx.nqc)
|
| |
 | | Output to Display
|
|
Is there a way using Robolab to display the value of a timer on the RCX LCD display? Thanks, Alan (25 years ago, 28-Nov-01, to lugnet.robotics.rcx.robolab)
|
| |
 | | Re: COLOR light sensor
|
|
(...) VERY interesting! I was just talking with someone at the last SMART meeting how cool it would be if there was a colour light sensor. I can't wait to read more about it! Keep us informed how you do with it. I'm not exactly sure what a reading (...) (25 years ago, 28-Nov-01, to lugnet.robotics.rcx)
|
| |
 | | Re: floating point operation
|
|
(...) I suspect that when you look at the assembler code produced by the compiler you will find in the first instance it was able to optimize the FP multiply out of the inner loop since it didn't depend on the loop induction variable. Ie, it simply (...) (25 years ago, 28-Nov-01, to lugnet.robotics.rcx.legos)
|
| |
 | | Re: floating point operation
|
|
(...) I should clarify that this is true for the first version only. For some reason, the compiler does not optimize the second version in the same way. Anyways, what I see in the disassembly for the first version is a loop to 100 inside a loop to (...) (25 years ago, 28-Nov-01, to lugnet.robotics.rcx.legos)
|
| |
 | | Re: floating point operation
|
|
(...) Compiler optimization? At least, a disassembly of similar code showed me that that seemed to be the case. The compiler can see that t is not used. Try returning t, or copying t to a global before you return from main. That will make things (...) (25 years ago, 28-Nov-01, to lugnet.robotics.rcx.legos)
|
| |
 | | Re: COLOR light sensor
|
|
(...) Kick-ass idea! :) Plain or peanut? -Kekoa (25 years ago, 28-Nov-01, to lugnet.robotics.rcx)
|
| |
 | | Re: Pneumatic pump and switch version 2
|
|
I have some pneumatic examples (including a pressure switch) on my website. Once you're there select menu 2. Have fun, Bert Artificial intelligence and machine learning (URL) bericht----- Van: John Barnes <barnes@sensors.com> Aan: (...) (25 years ago, 28-Nov-01, to lugnet.robotics)
|
| |
 | | floating point operation
|
|
I did some experiments with floating point operations and I was surprised when I tried this: int main(){ long t1; int i,j; float t; t1 = sys_time; for(j=0; j<1000; j++){ t=0.06; for(i=0; i<100; i++){ t=1.7*t; } } lcd_int((sys_time - t1)/1000); (...) (25 years ago, 28-Nov-01, to lugnet.robotics.rcx.legos)
|
| |
 | | Re: Pneumatic pump and switch version 2
|
|
(...) It's easy to make an all LEGO shut off switch. Use a Polarity switch and a small cylinder. Use elastic bands to hold it to offset the air pressure. When the pressure is enough to push the piston up it toggles the switch and cuts the power. (...) (25 years ago, 28-Nov-01, to lugnet.robotics)
|
| |
 | | where to buy individual parts?
|
|
Hi, My school currently has a robotics course that uses the RIS kits and LegOS. We're trying to expand the size of our class, and consequently need additional parts (and replacements for missing/broken parts) I've looked around on the lego homepage (...) (25 years ago, 28-Nov-01, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
|
| |
 | | Re: Pneumatic pump and switch version 2
|
|
That is a really nice way to drive the pneumatics system from a motor! Excellent!! It opens the door to RCX controlled pneumatic "effectors" rather neatly. You can hide the motor and pump assembly in the "guts" of the beast while placing the (...) (25 years ago, 28-Nov-01, to lugnet.robotics)
|
| |
 | | Re: COLOR light sensor
|
|
(...) I can own up to having done some work in this area. It isn't "available" yet because I haven't found an easily producible way to mount the LEDs yet. The device works as follows; The heart of the thing is a small PIC microcontroller which (...) (25 years ago, 28-Nov-01, to lugnet.robotics.rcx)
|
| |
 | | Re: COLOR light sensor
|
|
A standard photodiode is more sensitive to red-ish light...I guess a CDS photocell might be less biased. There was something a while back, link below. A color wheel might work if you could set up a CDS cell instead of the standard sensor. The (...) (25 years ago, 28-Nov-01, to lugnet.robotics)
|
| |
 | | COLOR light sensor
|
|
A couple of days ago I heard about an COLOR light sensor for the RCX. I have searched on the Internet for this, but the only thing I could find was a NQC program for this sensor. Does anyone know more about this, has the schematics of this sensor, (...) (25 years ago, 28-Nov-01, to lugnet.robotics.rcx)
|
| |
 | | Re: Anybody know what is this?
|
|
"miguel agullo" <technicpuppy@yahoo.com> wrote in message news:GnIAoM.F0q@lugnet.com... (...) remember, it has 6 unidirectional outputs, or 3 bi-directional outputs (use the connector that bridges the outputs), and just two inputs. I've only ever (...) (25 years ago, 28-Nov-01, to lugnet.robotics)
|
| |
 | | Re: 3804 RIS 2.0 VS 9747 RIS 1.5
|
|
(...) No, these are different. The new is thicker (inside of a pin), soft and just cylindric. The older ones are made of a harder material, are thinner for most of their length with just a thick end, and they have ridges that divert some light along (...) (25 years ago, 28-Nov-01, to lugnet.robotics)
|
| |
 | | Re: Anybody know what is this?
|
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I have absolutely no idea... ...but it doesn't look worth it though! Regards Q (...) Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see (URL) PGP SIGNATURE----- (25 years ago, 28-Nov-01, to lugnet.robotics)
|