diff --git a/lib/interfaces/include/InverterInterface.tpp b/lib/interfaces/include/InverterInterface.tpp index c00a9d5b9..7dd835457 100644 --- a/lib/interfaces/include/InverterInterface.tpp +++ b/lib/interfaces/include/InverterInterface.tpp @@ -93,7 +93,7 @@ void InverterInterface::handle_command(const InverterCommand &com mc_setpoints_command.set_driver_enable(true); mc_setpoints_command.set_hv_enable(true); mc_setpoints_command.set_inverter_enable(true); - int16_t torque_cmd = (command.torque_setpoint_nm/21.42)*1000; + int16_t torque_cmd = (command.torque_setpoint_nm)*100; // Serial.println(torque_cmd); mc_setpoints_command.set_speed_setpoint((int16_t)command.speed_setpoint_rpm);