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 / 317
316  |  318
Subject: 
firmdl for Win32? (Re: random numbers)
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Wed, 14 Jul 1999 16:43:31 GMT
Viewed: 
1091 times
  
I'm most of the way to getting it working myself, but I was curious to
see if anyone has implemented a random number generator in their bot.
Anyone? Anyone?

Hi,

Luis Villa - author of HOWTO has some that he will soon
include into the HOWTO. If you need just random 16 bit integer,
you can use for example this

random = 25173*previous + 13849;

but I don't know how good it is; start with an arbitrary seed.

My question: would anybody put on the web
the firmdl binary compiled for NT? Please...


Pavel.

--
Pavel Petrovic, ppetrovic@acm.org (petrovic@ifi.ntnu.no)
http://www.ifi.ntnu.no/~petrovic/
phd student IDI NTNU Trondheim Norway, tel. +47-7359 1717.



Message has 1 Reply:
  Re: firmdl for Win32? (Re: random numbers)
 
(...) I can compile it for use with Cygwin (Unix for NT), but since I have not (yet) figured out how to configure and use the serial port under NT, there is no NT version as of yet. But there are other firmware downloaders for NT already. To compile (...) (25 years ago, 16-Jul-99, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  Re: random numbers
 
(...) gnulibc has a good LCGM you can just link in. John A. Tamplin Traveller Information Services jat@LiveOnTheNet.COM 2104 West Ferry Way 256/705-7007 - FAX 256/705-7100 Huntsville, AL 35801 (25 years ago, 14-Jul-99, to lugnet.robotics.rcx.legos)

9 Messages in This Thread:



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

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

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