Motion Planning For Socially Competent Robot Navigation