From ce612aa9f584ab945913f4f1d284150e2ff8fe3b Mon Sep 17 00:00:00 2001 From: Caio DaSilva <145620095+caiodasilva2005@users.noreply.github.com> Date: Thu, 21 Nov 2024 17:58:10 -0500 Subject: [PATCH] updated json to send torque limiting percentages (#201) * updated json to send torque limiting percentages * updated to divide by 100 --- cangen/can-messages/mpu.json | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/cangen/can-messages/mpu.json b/cangen/can-messages/mpu.json index 62d43cd..8e6a100 100644 --- a/cangen/can-messages/mpu.json +++ b/cangen/can-messages/mpu.json @@ -60,6 +60,21 @@ } ] } + , + { + "name": "MPU/State/TorqueLimit", + "unit": "percentage", + "sim_min": 0, + "sim_max": 1, + "sim_inc_min": 0.1, + "sim_inc_max": 0.1, + "points": [ + { + "size": 8, + "format": "divide100" + } + ] + } ] } ,