robot and leg model