This class provides a smoother for slower rate breadcrumbs. More...
#include <EmbeddedSmoother.h>
Classes | |
struct | Settings |
Public Member Functions | |
EmbeddedSmoother (const Settings &settings_in) | |
double | reset (double desiredPosition, double desiredVelocity) |
double | update (double desiredPosition, double desiredVelocity) |
~EmbeddedSmoother () | |
Private Attributes | |
double | commandVel |
double | desiredDir |
double | prevDesiredPos |
Settings | settings |
double | smoothedAcc |
double | smoothedPos |
double | smoothedVel |
double | velDir |
double | velError |
This class provides a smoother for slower rate breadcrumbs.
Definition at line 17 of file EmbeddedSmoother.h.
EmbeddedSmoother::EmbeddedSmoother | ( | const Settings & | settings_in | ) |
Definition at line 4 of file EmbeddedSmoother.cpp.
Definition at line 17 of file EmbeddedSmoother.cpp.
double EmbeddedSmoother::reset | ( | double | desiredPosition, |
double | desiredVelocity | ||
) |
Definition at line 72 of file EmbeddedSmoother.cpp.
double EmbeddedSmoother::update | ( | double | desiredPosition, |
double | desiredVelocity | ||
) |
Definition at line 20 of file EmbeddedSmoother.cpp.
double EmbeddedSmoother::commandVel [private] |
Definition at line 45 of file EmbeddedSmoother.h.
double EmbeddedSmoother::desiredDir [private] |
Definition at line 43 of file EmbeddedSmoother.h.
double EmbeddedSmoother::prevDesiredPos [private] |
Definition at line 39 of file EmbeddedSmoother.h.
Settings EmbeddedSmoother::settings [private] |
Definition at line 37 of file EmbeddedSmoother.h.
double EmbeddedSmoother::smoothedAcc [private] |
Definition at line 42 of file EmbeddedSmoother.h.
double EmbeddedSmoother::smoothedPos [private] |
Definition at line 40 of file EmbeddedSmoother.h.
double EmbeddedSmoother::smoothedVel [private] |
Definition at line 41 of file EmbeddedSmoother.h.
double EmbeddedSmoother::velDir [private] |
Definition at line 44 of file EmbeddedSmoother.h.
double EmbeddedSmoother::velError [private] |
Definition at line 46 of file EmbeddedSmoother.h.