nýtt branch fyrir part3 og kóðar

This commit is contained in:
2026-09-30 14:22:20 +00:00
parent 3c5cedc413
commit 48f2d1aa43
7 changed files with 99 additions and 6 deletions
+7 -1
View File
@@ -7,7 +7,8 @@
MotorController::MotorController(
RotaryEncoderDriver& encoder,
MotorDriver& motor,
P_controller& controller,
//P_controller& controller,
PI_controller& controller;
State& initialization,
State& operational,
State& stopped
@@ -140,3 +141,8 @@ void MotorController::led_off()
{
led.set_lo();
}
void MotorController::reset_controller()
{
controller.reset();
}