Estimating speed depending on braking distance