From 18addfa5b5535dbf8d48c7bbfd01c7234e0154bf Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 16 Aug 2022 14:38:17 -0700 Subject: Change ignition test --- tools/test-generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/test-generator.py b/tools/test-generator.py index eb50d2600..d49b98744 100755 --- a/tools/test-generator.py +++ b/tools/test-generator.py @@ -74,7 +74,7 @@ while True: speed = device_speed if (index % len(points)) != 0 else 0 alarm = (index % 10) == 0 battery = random.randint(0, 100) - ignition = (index % len(points)) != 0 + ignition = (index / 10 % 2) != 0 accuracy = 100 if (index % 10) == 0 else 0 rpm = random.randint(500, 4000) fuel = random.randint(0, 80) -- cgit v1.2.3