Motion Planning Of Robotic Systems In Diagnostic And Therapy Applications Using Control And Ai