To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / *30669 (-10)
  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)  

Next Page:  5 more | 10 more | 20 more
Redisplay Messages:  All | Compact

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