Skip to content

Commit 94e88e1

Browse files
committed
PWM saturation disabled
PWM saturation disabled - and motors temp updated
1 parent 6ec0aae commit 94e88e1

File tree

2 files changed

+16
-15
lines changed

2 files changed

+16
-15
lines changed

src/sp140/bms_monitors.cpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -106,15 +106,15 @@ void addBMSMonitors() {
106106
&multiLogger);
107107
monitors.push_back(bmsVoltageDifferential);
108108

109-
// Charge MOS (Alert when OFF)
110-
static BooleanMonitor* bmsChargeMos = new BooleanMonitor(
111-
SensorID::BMS_Charge_MOS,
112-
SensorCategory::BMS,
113-
[]() { return monitoringBmsData.is_charge_mos; },
114-
false, // Alert when false
115-
AlertLevel::CRIT_HIGH,
116-
&multiLogger);
117-
monitors.push_back(bmsChargeMos);
109+
// Charge MOS (Alert when OFF) - DISABLED
110+
// static BooleanMonitor* bmsChargeMos = new BooleanMonitor(
111+
// SensorID::BMS_Charge_MOS,
112+
// SensorCategory::BMS,
113+
// []() { return monitoringBmsData.is_charge_mos; },
114+
// false, // Alert when false
115+
// AlertLevel::CRIT_HIGH,
116+
// &multiLogger);
117+
// monitors.push_back(bmsChargeMos);
118118

119119
// Discharge MOS (Alert when OFF)
120120
static BooleanMonitor* bmsDischargeMos = new BooleanMonitor(

src/sp140/esc_monitors.cpp

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,12 +84,13 @@ void addESCMonitors() {
8484
monitors.push_back(escVoltageDropError);
8585

8686
// Individual ESC Running Warning Monitors
87-
static BooleanMonitor* escThrottleSatWarning = new BooleanMonitor(
88-
SensorID::ESC_ThrottleSat_Warning,
89-
SensorCategory::ESC,
90-
[]() { return hasThrottleSatWarning(monitoringEscData.running_error); },
91-
true, AlertLevel::WARN_HIGH, &multiLogger);
92-
monitors.push_back(escThrottleSatWarning);
87+
// ESC Throttle Saturation Warning - DISABLED
88+
// static BooleanMonitor* escThrottleSatWarning = new BooleanMonitor(
89+
// SensorID::ESC_ThrottleSat_Warning,
90+
// SensorCategory::ESC,
91+
// []() { return hasThrottleSatWarning(monitoringEscData.running_error); },
92+
// true, AlertLevel::WARN_HIGH, &multiLogger);
93+
// monitors.push_back(escThrottleSatWarning);
9394

9495
// Individual ESC Self-Check Error Monitors (All Critical)
9596
static BooleanMonitor* escMotorCurrentOutError = new BooleanMonitor(

0 commit comments

Comments
 (0)