To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 1666
  Re: legOS lcd management and thoughts on velocities
 
(...) Yes, I have written that support. First you have to enable it, by removing the comments from the line in legOS/boot/config.h. Then recompile the kernel and all apps. After you have programmed the rotation sensor in the usual way you can read (...) (24 years ago, 26-Jan-01, to lugnet.robotics.rcx.legos)
 
  Re: legOS lcd management and thoughts on velocities
 
Thank you Jochen for your answer. If I well understand the ds_rotation_handler code, the timeout is set to 1 second. So the velocity may drop to zero 1 second after wheels really stop. In the specific case of my robot (I call it R2D1), this will be (...) (24 years ago, 27-Jan-01, to lugnet.robotics.rcx.legos)
 
  Re: legOS lcd management and thoughts on velocities
 
(...) The timeout is really "expected time till next rotation tick + 50 %". And the velocity will not drop to 0, because my code assumes, a new rotation could happen any moment. If you check for speed < 7 ticks/sec (or 142 msec/tick) you should get (...) (24 years ago, 29-Jan-01, to lugnet.robotics.rcx.legos)
 
  Re: legOS lcd management and thoughts on velocities
 
Hello jochen, (...) Thank you for your precision about your velocity handler For now, unfortunaly my the hard disk does not boot any more, and, fortunatly, my wife gave birth to a girl on wednesday! So I'll test all those nice handlers in a few (...) (24 years ago, 2-Feb-01, to lugnet.robotics.rcx.legos)

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