Gravar-mail: A trajectory planner for manipulators using genetic algorithms