Vibration avoidance in industrial robots using input shaping and learning-based structural models