Gives white noise at specified amplitude. More...
#include <dither.h>
Public Member Functions | |
Dither () | |
bool | init (const double &litude, const double &seed) |
double | update () |
Get next Gaussian white noise point. Called in RT loop. More... | |
~Dither () | |
Destructor. More... | |
Private Attributes | |
double | amplitude_ |
bool | has_saved_value_ |
double | s_ |
double | saved_value_ |
unsigned short | seed_ [3] |
double | x_ |
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.
control_toolbox::Dither::Dither | ( | ) |
Definition at line 41 of file dither.cpp.
control_toolbox::Dither::~Dither | ( | ) |
Destructor.
Definition at line 46 of file dither.cpp.
|
inline |
double control_toolbox::Dither::update | ( | ) |
Get next Gaussian white noise point. Called in RT loop.
Definition at line 50 of file dither.cpp.
|
private |