Text this: LQR-based control strategy for improving human–robot companionship and natural obstacle avoidance