To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.nxtOpen lugnet.robotics.nxt in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / NXT / 1174
1173  |  1175
Subject: 
NXT-G and random number usage
Newsgroups: 
lugnet.robotics.nxt
Date: 
Wed, 25 May 2011 21:05:53 GMT
Viewed: 
25080 times
  
OK, so I'm on my second ever NXT project, and I am wondering if this is even
possible.  I have a program that currently has 3 WAIT Blocks, each set to
different lengths of time (4 sec, 2 sec, 1 sec) at different points.  What I
want to do, to add more realism, is have that wait time be a random amount of
time between 1 and 5 seconds.  The WAIT block, when set to time, seems to have
no method for input.  Is there any other way to do this?

Thanks!

Chris Eyerly



1 Message 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