From 9e46a1d46e1d574c9ee439d3b98b57d881212b65 Mon Sep 17 00:00:00 2001 From: Andrey Date: Fri, 17 Feb 2023 22:19:02 -0500 Subject: [PATCH] Nick wonders if DC wastegate is still FUBAR #5075 --- firmware/controllers/actuators/electronic_throttle.txt | 3 +++ firmware/controllers/actuators/electronic_throttle_impl.h | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/firmware/controllers/actuators/electronic_throttle.txt b/firmware/controllers/actuators/electronic_throttle.txt index 729594a1f7..5be228ca40 100644 --- a/firmware/controllers/actuators/electronic_throttle.txt +++ b/firmware/controllers/actuators/electronic_throttle.txt @@ -6,6 +6,9 @@ float idlePosition;"ETB: idlePosition";"per", 1,0, 0,10, 2,@@GAUGE_CATEGORY_ETB@ float trim;"ETB: trim" float luaAdjustment;"ETB: luaAdjustment";"per", 1,0, 0,3, 2,@@GAUGE_CATEGORY_ETB@@ + float m_wastegatePosition;"DC: wastegatePosition";"per", 1,0, 0,3, 2,@@GAUGE_CATEGORY_ETB@@ + + custom percent_t 4 scalar, F32, @OFFSET@, "", 1, 0, 0, 100, 2 percent_t etbFeedForward diff --git a/firmware/controllers/actuators/electronic_throttle_impl.h b/firmware/controllers/actuators/electronic_throttle_impl.h index 3478fad3c2..bb3ae3ea5b 100644 --- a/firmware/controllers/actuators/electronic_throttle_impl.h +++ b/firmware/controllers/actuators/electronic_throttle_impl.h @@ -111,7 +111,6 @@ private: const ValueProvider3D* m_pedalMap = nullptr; float m_idlePosition = 0; - float m_wastegatePosition = 0; // This is set if automatic PID cal shoudl be run bool m_isAutotune = false;