conf.hpp (0e8fc3980a6690d1b2be2b4e96a8018aa1eacc96) conf.hpp (9fe3a3c767cc7932f526edb2fded7962d848b8a4)
1#pragma once
2
3#include "pid/ec/pid.hpp"
4#include "pid/ec/stepwise.hpp"
5
6#include <map>
7#include <string>
8#include <vector>

--- 26 unchanged lines hidden (view full) ---

35 */
36struct ControllerInfo
37{
38 std::string type; // fan or margin or temp?
39 std::vector<std::string> inputs; // one or more sensors.
40 double setpoint; // initial setpoint for thermal.
41 ec::pidinfo pidInfo; // pid details
42 ec::StepwiseInfo stepwiseInfo;
1#pragma once
2
3#include "pid/ec/pid.hpp"
4#include "pid/ec/stepwise.hpp"
5
6#include <map>
7#include <string>
8#include <vector>

--- 26 unchanged lines hidden (view full) ---

35 */
36struct ControllerInfo
37{
38 std::string type; // fan or margin or temp?
39 std::vector<std::string> inputs; // one or more sensors.
40 double setpoint; // initial setpoint for thermal.
41 ec::pidinfo pidInfo; // pid details
42 ec::StepwiseInfo stepwiseInfo;
43 double failSafePercent;
43};
44
45struct CycleTime
46{
47 /* The time interval every cycle. 0.1 seconds by default */
48 uint64_t cycleIntervalTimeMS = 100; // milliseconds
49
50 /* The interval of updating thermals. 1 second by default */

--- 26 unchanged lines hidden ---
44};
45
46struct CycleTime
47{
48 /* The time interval every cycle. 0.1 seconds by default */
49 uint64_t cycleIntervalTimeMS = 100; // milliseconds
50
51 /* The interval of updating thermals. 1 second by default */

--- 26 unchanged lines hidden ---