From 1bc0f3d810e6ebe457e100e7152c378be66aa5cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niccol=C3=B2=20Betto?= <niccolo.betto@skywarder.eu> Date: Mon, 11 Nov 2024 14:41:27 +0100 Subject: [PATCH] [RIG] Update loadcell calibration --- src/RIGv2/Configs/SensorsConfig.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/RIGv2/Configs/SensorsConfig.h b/src/RIGv2/Configs/SensorsConfig.h index 6348afffa..44b873702 100644 --- a/src/RIGv2/Configs/SensorsConfig.h +++ b/src/RIGv2/Configs/SensorsConfig.h @@ -123,13 +123,14 @@ constexpr float TANK_P1_MASS = 6.916; // LC Vessel sensor calibration data // - 1.866kg V: 0.00027 // - 5.050kg V: 0.00073 -// - 6.916kg V: 0.00100 +// - 6.916kg V: 0.00100000941 constexpr float VESSEL_P0_VOLTAGE = 0.00027; constexpr float VESSEL_P0_MASS = 1.866; constexpr float VESSEL_P1_VOLTAGE = 0.0010; constexpr float VESSEL_P1_MASS = 6.916; */ +/* // LC Vessel sensor calibration data (post 07/09/2024) // - 0kg V: 0.000630177 // - 4.985kg V: 0.000470017 (−31125.124875125 kg/v) @@ -138,7 +139,15 @@ constexpr float VESSEL_P0_VOLTAGE = 0.000470017; constexpr float VESSEL_P0_MASS = 4.985; constexpr float VESSEL_P1_VOLTAGE = 0.00030895; constexpr float VESSEL_P1_MASS = 10.177; +*/ +// LC Vessel sensor calibration data (post 08/11/2024, old flipping) +// - 0kg V: -0.009553 +// - 8.720kg V: -0.010958 (−31125.124875125 kg/v) +constexpr float VESSEL_P0_VOLTAGE = -0.009553; +constexpr float VESSEL_P0_MASS = 0.0; +constexpr float VESSEL_P1_VOLTAGE = -0.010958; +constexpr float VESSEL_P1_MASS = 8.720; } // namespace LoadCell namespace InternalADC -- GitLab