mirror of
https://github.com/anklimov/lighthub
synced 2025-12-10 21:59:50 +03:00
PID item and float-point fixes
This commit is contained in:
@@ -5,12 +5,14 @@
|
||||
#include <item.h>
|
||||
#include <PID_v1.h>
|
||||
|
||||
#define OUTPUT_TRESHOLD 1
|
||||
|
||||
class pidPersistent : public chPersistent {
|
||||
public:
|
||||
PID pid;
|
||||
PID * pid;
|
||||
double output;
|
||||
double input;
|
||||
double setpoint;
|
||||
int driverStatus;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user