Collision-free trajectory generation of robotic manipulators using receding horizon strategy