Investigating The Performance Of Different Controllers In Optimized Path Tracking In Robotics: A Lie Bracket System And Extremum Seeking Approach