To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.javaOpen lugnet.robotics.rcx.java in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / Java / 341
  Re: train control
 
(...) hi Juergen I tried it with load, and it works much better! Only that the speed is not very stable in the curves. (...) If i use a cycle of 10ms, then i could only use 10 different speeds, because the Thread.sleep has a resolution of 1ms... (...) (20 years ago, 8-Jul-04, to lugnet.robotics.rcx.java)
 
  Re: train control
 
Hi Daniel, (...) you can do more levels by something like the Bresenham algorithm, i.e. for speed 4.5 you turn it on for 4ms and 5ms of the 10ms alternatively. Though 10 levels should normally suffice, the standard LEGO train controller has fewer (...) (20 years ago, 9-Jul-04, to lugnet.robotics.rcx.java)

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