Velocity Profile Smoothing Requirements

Requirements

Inputs

  • A vehicle velocity profile

Outputs

  • A smoothed vehicle velocity profile
  • Display of the filtered data

Nice to haves

  • Parameters to control the amount and type of smoothing
  • Filter description (ideally in the codebase)
  • A way to generate a large collection of filtered values with different filtering parameters
  • Side by side comparison of filtered to unfiltered data
  • Saving velocity profiles to local files (with parameters for file name and location)
  • Acceleration limit

Interface

  • Class that takes the unfiltered data and allows us to filter the data a bunch of different ways within the class 

Testing

  • Test that it works
  • Write a test that has velocities near zero (no below zero velocities)
  • Don't allow below zero values
  • Make sure saving to files works