Enforcing Constraints for Dynamic Obstacle Avoidance by Compliant Robots