From 65dc25267c76c994d9967cd1f1766e1f07e6efe0 Mon Sep 17 00:00:00 2001 From: Tony Baltovski Date: Tue, 28 Jan 2025 21:44:48 -0500 Subject: [PATCH] Fixed normal commend and updated battery range. --- .../include/clearpath_hardware_interfaces/a300/fan_control.hpp | 2 +- clearpath_hardware_interfaces/src/a300/fan_control.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/clearpath_hardware_interfaces/include/clearpath_hardware_interfaces/a300/fan_control.hpp b/clearpath_hardware_interfaces/include/clearpath_hardware_interfaces/a300/fan_control.hpp index 6e0ff1e..8b56a2c 100644 --- a/clearpath_hardware_interfaces/include/clearpath_hardware_interfaces/a300/fan_control.hpp +++ b/clearpath_hardware_interfaces/include/clearpath_hardware_interfaces/a300/fan_control.hpp @@ -36,7 +36,7 @@ constexpr float FAN_CMD_LOW_ERROR = 0.0f; constexpr float FAN_CMD_LOW_WARNING = 0.25f; /// Fan command for normal state, percent of maximum speed -constexpr float FAN_CMD_NORMAL = 0.25f; +constexpr float FAN_CMD_NORMAL = 0.5f; /// Initial temperature reading when no data is available, degrees Celsius constexpr float INITIAL_READING = 30.0f; diff --git a/clearpath_hardware_interfaces/src/a300/fan_control.cpp b/clearpath_hardware_interfaces/src/a300/fan_control.cpp index 7c21a62..c7ed713 100644 --- a/clearpath_hardware_interfaces/src/a300/fan_control.cpp +++ b/clearpath_hardware_interfaces/src/a300/fan_control.cpp @@ -49,7 +49,7 @@ a300_cooling::ThermalSensors::ThermalSensors() {"main_gnd_lug", ThermalSensor{-20, 0, 60, 80}}, {"dcdc_24v", ThermalSensor{-20, 0, 60, 80}}, {"dcdc_12v", ThermalSensor{-20, 0, 60, 80}}, - {"battery", ThermalSensor{-20, 0, 60, 80}}, + {"battery", ThermalSensor{-20, 0, 55, 60}}, {"pcb_motor1", ThermalSensor{-20, 0, 60, 80}}, {"mcu_motor1", ThermalSensor{-20, 0, 60, 80}}, {"pcb_motor2", ThermalSensor{-20, 0, 60, 80}},