You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
480 B
C++
30 lines
480 B
C++
/*
|
|
* ExtremumDetection.h
|
|
*
|
|
* Author: Aleksey Gerasimenko
|
|
* gerasimenko.aleksey.n@gmail.com
|
|
*/
|
|
|
|
#include <math.h>
|
|
#include <stdint.h>
|
|
|
|
#ifndef SYSCTRL_EXTREMUMDETECTION_H_
|
|
#define SYSCTRL_EXTREMUMDETECTION_H_
|
|
|
|
namespace SYSCTRL
|
|
{
|
|
|
|
class ExtremumDetection
|
|
{
|
|
private:
|
|
float m_max_value;
|
|
float m_min_value;
|
|
public:
|
|
ExtremumDetection();
|
|
void execute(float ia, float ib, float ic);
|
|
};
|
|
|
|
} /* namespace SYSCTRL */
|
|
|
|
#endif /* SYSCTRL_EXTREMUMDETECTION_H_ */
|