control_toolbox::Dither Class Reference

Gives white noise at specified amplitude. More...

#include <dither.h>

List of all members.

Public Member Functions

 Dither ()
bool init (const double &amplitude, const double &seed)
double update ()
 Get next Gaussian white noise point. Called in RT loop.
 ~Dither ()

Private Member Functions

double uni ()

Private Attributes

double amplitude_
long idum
double s_
double x_

Detailed Description

Gives white noise at specified amplitude.

This class gives white noise at the given amplitude when update() is called. It can be used to vibrate joints or to break static friction.

Definition at line 56 of file dither.h.

Constructor & Destructor Documentation

control_toolbox::Dither::Dither (  ) 

Definition at line 52 of file dither.cpp.

control_toolbox::Dither::~Dither (  ) 


Definition at line 57 of file dither.cpp.

Member Function Documentation

bool control_toolbox::Dither::init ( const double &  amplitude,
const double &  seed 
) [inline]

Definition at line 79 of file dither.h.

double control_toolbox::Dither::uni (  )  [private]

Definition at line 99 of file dither.cpp.

double control_toolbox::Dither::update (  ) 

Get next Gaussian white noise point. Called in RT loop.

White noise of given amplitude.

Definition at line 61 of file dither.cpp.

Member Data Documentation

Amplitude of the sweep.

Definition at line 95 of file dither.h.

Definition at line 98 of file dither.h.

double control_toolbox::Dither::s_ [private]

Definition at line 96 of file dither.h.

double control_toolbox::Dither::x_ [private]

Definition at line 97 of file dither.h.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Defines

Author(s): Melonee Wise, Sachin Chitta, John Hsu
autogenerated on Fri Jan 11 10:00:57 2013