From 576b20dde65f542b00a5e70d7e74ad2761f15e3f Mon Sep 17 00:00:00 2001 From: Matthew Wilkes Date: Sun, 16 Jun 2024 17:39:01 +0100 Subject: [PATCH] Add stub to step counter for simulator --- sim/fakes/imu.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sim/fakes/imu.py b/sim/fakes/imu.py index bf25c00..95bcf46 100644 --- a/sim/fakes/imu.py +++ b/sim/fakes/imu.py @@ -22,3 +22,7 @@ def pressure_read() -> Tuple[float, float]: Returns current pressure in Pa and temperature in degree C. """ return (7.0, 8.0) + + +def step_counter_read() -> int: + return 1337