Adaptive compensation of modeled friction using a RBF neural network approximation