A parameter setting method to find the required state estimation accuracy for a motion control method in merging scenario