A study on the automatic command generation and master/slave integration for model-based tele-robotic systems