Combining an exoskeleton with 3 D simulation inthe-loop