Skip to content

Speed Sensor Simulation

Use this script when you want to check the wheel-speed sensor algorithm against a known simulated input profile.

What it does

The script generates a drive profile, runs the speed calculation path, and plots the measured result against the expected value.

How to use it

  1. Run the script in an environment with the required plotting and numeric libraries installed.
  2. Review the generated plot.
  3. Compare the calculated speed to the expected profile.

Good fit for

  • checking algorithm changes before firmware integration
  • confirming a fix after a speed-sensor bug
  • regression testing with a repeatable input profile

Notes

TIP

This is a validation tool, not a runtime component. Use it when you want to understand the effect of an algorithm change before flashing firmware.

Released under the MIT License.