A General Control Method for Human-Robot Integration