A device for translating a scraper of droppings covering a corridor of a livestock building. The device includes a chain secured to the scraper, a first sprocket secured to a first end of the chain and a second sprocket secured to a second end of the chain. The first sprocket is rotated by a first motor and the second sprocket is rotated by a second motor in the opposite direction of the first sprocket. A controller controls power supply to the motors and takes states including: a driving state of the scraper in a first direction, wherein the first motor is supplied with power and the power supply of the second motor is cut off; and a driving state of the scraper in a direction opposite to the first direction, wherein the second motor is supplied with power and the power supply of the first motor is cut off.