Methods to improve the coping capacities of whole-body controllers for humanoid robots