From c8f29ccb9f82025eeff307fb87897f9b0213d467 Mon Sep 17 00:00:00 2001 From: CommanderRedYT Date: Sat, 10 Sep 2022 17:50:33 +0200 Subject: [PATCH] Reverted to old --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index 13fbb93..915c327 100644 --- a/main.cpp +++ b/main.cpp @@ -1421,7 +1421,7 @@ void doMotorTest() left.enable = true; left.rtU.r_inpTgt = pwm; - left.rtP.z_ctrlTypSel = uint8_t(ControlType::Sinusoidal); + left.rtP.z_ctrlTypSel = uint8_t(ControlType::FieldOrientedControl); left.rtU.z_ctrlModReq = uint8_t(ControlMode::Voltage); left.rtP.i_max = (2 * AMPERE2BIT_CONV) << 4; left.iDcMax = 8;