A data-driven approach to nonlinear braking control