Gear detection based on RPM to VSS ratio #3779

:(
This commit is contained in:
rusefillc 2023-03-16 11:30:47 -04:00
parent 5d9d7f2575
commit 65e75911d9
1 changed files with 2 additions and 1 deletions

View File

@ -45,8 +45,9 @@ public class VssHardwareLoopTest extends RusefiTestBase {
sleep(2 * Timeouts.SECOND);
// todo: this command does not seem to work for whatever reasons :( cAsE? else?
ecu.sendCommand("set " + "driveWheelRevPerKm" + " " + "500");
EcuTestHelper.assertSomewhatClose("VSS with input", 92, SensorCentral.getInstance().getValue(Sensor.vehicleSpeedKph));
EcuTestHelper.assertSomewhatClose("VSS with input", 46, SensorCentral.getInstance().getValue(Sensor.vehicleSpeedKph));
// not related to VSS test, just need to validate this somewhere, so this random test is as good as any
if (ControllerConnectorState.firmwareVersion == null)