Create a version of DriveDistanceOnHeading that takes arguments for max speed and max accel (as % values).
This is probably best done as a variant with a different signature.
As discussed, the logical approach is for the % values to be of robot maximums, e.g. a "normal" DriveDistanceOnHeading was using 90% & 3% respectively. This allows maximum flexibility (can go up as well as down) and avoids "% of a %" confusion.
Create a version of DriveDistanceOnHeading that takes arguments for max speed and max accel (as % values).
This is probably best done as a variant with a different signature.
As discussed, the logical approach is for the % values to be of robot maximums, e.g. a "normal" DriveDistanceOnHeading was using 90% & 3% respectively. This allows maximum flexibility (can go up as well as down) and avoids "% of a %" confusion.