diff --git a/firmware/console/binary/output_channels.txt b/firmware/console/binary/output_channels.txt index 1b2f56dd6c..5d20398f08 100644 --- a/firmware/console/binary/output_channels.txt +++ b/firmware/console/binary/output_channels.txt @@ -311,6 +311,7 @@ uint16_t rpmAcceleration;dRPM;"RPM/s",1, 0, 0, 5, 2 pid_status_s idleStatus pid_status_s etbStatus pid_status_s boostStatus + pid_status_s wastegateDcStatus pid_status_s[CAM_INPUTS_COUNT iterate] vvtStatus diff --git a/firmware/controllers/actuators/electronic_throttle.cpp b/firmware/controllers/actuators/electronic_throttle.cpp index 3e7e04d366..41d4af7132 100644 --- a/firmware/controllers/actuators/electronic_throttle.cpp +++ b/firmware/controllers/actuators/electronic_throttle.cpp @@ -562,6 +562,8 @@ bool EtbController::checkStatus() { // Only debug throttle #1 if (m_function == ETB_Throttle1) { m_pid.postState(engine->outputChannels.etbStatus); + } else if (m_function == ETB_Wastegate) { + m_pid.postState(engine->outputChannels.wastegateDcStatus); } #endif /* EFI_TUNER_STUDIO */ diff --git a/firmware/tunerstudio/rusefi.input b/firmware/tunerstudio/rusefi.input index dbd3fb74b3..d564b69cf1 100644 --- a/firmware/tunerstudio/rusefi.input +++ b/firmware/tunerstudio/rusefi.input @@ -1232,6 +1232,12 @@ gaugeCategory = Etb PID etbStatus_errorGauge = etbStatus_error,"ETB 1 PID error", "", -100.0,100.0, -100.0,100.0, -100.0,100.0, 3,3 etbStatus_resetCounterGauge = etbStatus_resetCounter,"ETB 1 PID resetCounter", "", 0,100.0, 0,100.0, 0,100.0, 0,0 + wgStatus_iTermGauge = wastegateDcStatus_iTerm,"WG PID iTerm", "", -100.0,100.0, -100.0,100.0, -100.0,100.0, 3,3 + wgStatus_dTermGauge = wastegateDcStatus_dTerm,"WG PID dTerm", "", -100.0,100.0, -100.0,100.0, -100.0,100.0, 3,3 + wgStatus_outputGauge = wastegateDcStatus_output,"WG 1 PID output", "", -100.0,100.0, -100.0,100.0, -100.0,100.0, 3,3 + wgStatus_errorGauge = wastegateDcStatus_error,"WG PID error", "", -100.0,100.0, -100.0,100.0, -100.0,100.0, 3,3 + wgStatus_resetCounterGauge = wastegateDcStatus_resetCounter,"WG 1 PID resetCounter", "", 0,100.0, 0,100.0, 0,100.0, 0,0 + gaugeCategory = CAN canReadCounterGauge = canReadCounter,"canReadCounter", "", 0.0,0.0, 0.0,0.0, 0.0,0.0, 0,0 canWriteOkGauge = canWriteOk,"canWriteOk", "", -10000.0,10000.0, -10000.0,10000.0, -10000.0,10000.0, 3,3