Correct name of function set_velocity