Public Member Functions | |
Oscillator (const std::string name) | |
Protected Member Functions | |
double & | computeSignal (double &sout, const int &t) |
dynamicgraph::Vector & | computeVectorSignal (dynamicgraph::Vector &vsout, const int &t) |
double | value (double dt, double time, double omega, double phase, double amplitude, double bias) |
Protected Attributes | |
SignalPtr< double, int > | angularFrequencySIN_ |
SignalPtr< double, int > | magnitudeSIN_ |
SignalPtr< double, int > | phaseSIN_ |
SignalPtr< double, int > | biasSIN_ |
SignalTimeDependent< double, int > | soutSOUT_ |
SignalTimeDependent< dynamicgraph::Vector, int > | vectorSoutSOUT_ |
double | epsilon_ |
bool | started_ |
bool | continuous_ |
double | dt_ |
double | lastValue_ |
dynamicgraph::sot::tools::Oscillator::Oscillator | ( | const std::string | name | ) |
epsilon is used to ensure there is no discontinuity when starting or stopping the oscillator. It defines the sensitivity to discontinuities
References angularFrequencySIN_, biasSIN_, computeSignal(), computeVectorSignal(), continuous_, dt_, epsilon_, lastValue_, magnitudeSIN_, phaseSIN_, soutSOUT_, started_, and vectorSoutSOUT_.
|
protected |
References angularFrequencySIN_, biasSIN_, continuous_, dt_, epsilon_, lastValue_, magnitudeSIN_, phaseSIN_, started_, and value().
Referenced by Oscillator().
|
protected |
References soutSOUT_.
Referenced by Oscillator().
|
protected |
Referenced by computeSignal().
|
protected |
Referenced by computeSignal(), and Oscillator().
|
protected |
Referenced by computeSignal(), and Oscillator().
|
protected |
Referenced by computeSignal(), and Oscillator().
|
protected |
Referenced by computeSignal(), and Oscillator().
|
protected |
Referenced by computeSignal(), and Oscillator().
|
protected |
Referenced by computeSignal(), and Oscillator().
|
protected |
Referenced by computeSignal(), and Oscillator().
|
protected |
Referenced by computeSignal(), and Oscillator().
|
protected |
Referenced by computeVectorSignal(), and Oscillator().
|
protected |
Referenced by computeSignal(), and Oscillator().
|
protected |
Referenced by Oscillator().