Patent attributes
An example implementation includes determining a force allocation for at least one foot of a legged robotic device, where the legged robotic device includes two feet coupled to two legs extending from a body of the legged robotic device. The implementation also includes determining a change in mass distribution of the legged robotic device, and based on the determined change in mass distribution, determining a force and a torque on the body of the legged robotic device with respect to a ground surface. The implementation also includes updating the determined force allocation for the at least one foot of the two feet based on the determined force and torque. The implementation also includes causing the at least one foot to act on the ground surface based on the updated force allocation.