bætti við prentskipunum til þess að geta plottað step response
This commit is contained in:
@@ -9,6 +9,15 @@
|
||||
class State;
|
||||
|
||||
|
||||
// Gildi úr einni keyrslu á hraðastýringunni, til útprentunar
|
||||
struct ControlSample
|
||||
{
|
||||
double ref_rpm;
|
||||
double actual_rpm;
|
||||
double pwm_actual;
|
||||
};
|
||||
|
||||
|
||||
class MotorController
|
||||
{
|
||||
private:
|
||||
@@ -60,7 +69,8 @@ public:
|
||||
bool fault_active();
|
||||
|
||||
|
||||
void run_speed_controller();
|
||||
// Skilar true ef ný mæling var tekin og sample fyllt út
|
||||
bool run_speed_controller(ControlSample& sample);
|
||||
|
||||
void stop_motor();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user