Skip to content
Snippets Groups Projects
Commit 0f5d9fc2 authored by Federico Lolli's avatar Federico Lolli
Browse files

[LowPass] added some comments

parent 8103dfff
No related branches found
No related tags found
No related merge requests found
...@@ -26,6 +26,7 @@ namespace Boardcore ...@@ -26,6 +26,7 @@ namespace Boardcore
{ {
// TODO: WARNING! initialized at 0 // TODO: WARNING! initialized at 0
// WARNING: frequency set by parameters, look for these anyway
LowPass::LowPass(float gain, float cutoffFreq, float lambda) LowPass::LowPass(float gain, float cutoffFreq, float lambda)
: gain(gain), cutoffFreq(cutoffFreq), lambda(lambda), output(0) : gain(gain), cutoffFreq(cutoffFreq), lambda(lambda), output(0)
{ {
......
...@@ -36,6 +36,7 @@ public: ...@@ -36,6 +36,7 @@ public:
* @param lambda The lambda parameter of the filter * @param lambda The lambda parameter of the filter
* *
* @note WARNING: Initialize output at 0 at first * @note WARNING: Initialize output at 0 at first
* @note WARNING: frequency set by parameters, look for these anyway
*/ */
LowPass(float gain, float cutoffFreq, float lambda); LowPass(float gain, float cutoffFreq, float lambda);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment