Optimizing end-effector force during the sit-stand task on the Talos humanoid bipedal robot