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;