To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcxOpen lugnet.robotics.rcx in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / *5470 (-10)
  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 (...) (23 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 (...) (23 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 (...) (23 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 (...) (23 years ago, 28-Nov-01, to lugnet.robotics.rcx.legos)
 
  Re: COLOR light sensor
 
(...) Kick-ass idea! :) Plain or peanut? -Kekoa (23 years ago, 28-Nov-01, to lugnet.robotics.rcx)  
 
  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); (...) (23 years ago, 28-Nov-01, to lugnet.robotics.rcx.legos)
 
  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 (...) (23 years ago, 28-Nov-01, to lugnet.robotics.rcx, lugnet.robotics.rcx.legos)
 
  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 (...) (23 years ago, 28-Nov-01, to lugnet.robotics.rcx)  
 
  COLOR light sensor
 
A couple of day’s 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, (...) (23 years ago, 28-Nov-01, to lugnet.robotics.rcx)
 
  Bug report and enhancement request for BricxCC
 
Hi John, First of all, I want to tell you that I like to program in BricxCC. However, there are some minor things I would like to mention to you. There are four bugs (I think): When I click on the maximize icon the window got maximazed. But when I (...) (23 years ago, 28-Nov-01, to lugnet.robotics.rcx.nqc)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR