40 lines
676 B
C++
40 lines
676 B
C++
/**
|
|
* @file menuPidSettings.h
|
|
* @author Alexander Klein (alex@kleiax.de)
|
|
* @brief Contains a class to tune the PID settings
|
|
* @version 0.1
|
|
* @date 2022-01-19
|
|
*
|
|
* @copyright Copyright (c) 2022
|
|
*
|
|
*/
|
|
|
|
#ifndef PID_SETTINGS_H
|
|
#define PID_SETTINGS_H
|
|
|
|
#include "menuIntInput.h"
|
|
#include <PID_v1.h>
|
|
#include <stdint.h>
|
|
|
|
/**
|
|
* @brief A class to tune the PID settings
|
|
*
|
|
*/
|
|
class MenuPidSettings : public MenuIntInputWrapper
|
|
{
|
|
public:
|
|
/**
|
|
* @brief Construct a new Menu Pid Settings object
|
|
*
|
|
* @param pid
|
|
*/
|
|
MenuPidSettings(PID *pid);
|
|
|
|
void action(int16_t *values, uint8_t length) override;
|
|
|
|
private:
|
|
PID *pid;
|
|
};
|
|
|
|
#endif // PID_SETTINGS_H
|