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 / 17667
17666  |  17668
Subject: 
Re: Light Sensor help
Newsgroups: 
lugnet.robotics
Date: 
Wed, 10 Apr 2002 10:09:56 GMT
Viewed: 
770 times
  
lego-robotics@crynwr.com writes:

That all seems rather slow though doesn't it? How fast
is the clock speed on the onboard processor?

16 MHz AFAIK, and I bet it could go much faster,
at the price of a less reproducible timing.

leJOS executes some tens of Java bytecodes per millisecond,
an empty 10000 iterations loop containing four relatively simple
byte codes runs in 1.4 seconds.

Jürgen

--
Jürgen Stuber <stuber@loria.fr>
http://www.loria.fr/~stuber/



Message is in Reply To:
  Re: Light Sensor help
 
Interesting this is being discussed now. I wrote a chunk of code at the weekend (NQC) to allow me fine control over the motors. Basically, you give each one a number from 0-100, call it N. The drive task counts ticks from 0-99 and ensures the motor (...) (23 years ago, 9-Apr-02, to lugnet.robotics)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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