Currently, the distances and times are in terms of pixels and frames. Making them in terms of meters and seconds should just involve multiplying the inputs by some constants.