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 / 27115
27114  |  27116
Subject: 
Re: circular pointer
Newsgroups: 
lugnet.robotics
Date: 
Wed, 16 May 2007 23:29:21 GMT
Viewed: 
5042 times
  
In lugnet.robotics, linmix <linmix@gmail.com> wrote:

I'm reading "Building Robots with Lego Mindstorms" and in Chapter 12,
there is some code to create a circular pointer for an array, with the
aim of smoothing averages.

Another way to accomplish the same result with less code and less memory is to
use exponential smoothing. (see Wikipedia) The method uses coefficients between
0 and 1, but if  you want to use integers you can always use the integer
numerator and denominator of the fraction.

Roger Glassey



Message has 1 Reply:
  Re: circular pointer
 
(...) There's something about that too in the same book. If I have some time this weekend I'll try to figure that one out. (thanks for the pointer, I'd forgotten about it) linmix (18 years ago, 17-May-07, to lugnet.robotics)

Message is in Reply To:
  circular pointer
 
Some time ago some of you offered to help out if I (and I suppose anyone else) had any questions about programming.... well, here goes I'm reading "Building Robots with Lego Mindstorms" and in Chapter 12, there is some code to create a circular (...) (18 years ago, 12-May-07, to lugnet.robotics)

8 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