If military robot falls, it can get itself up