Collaborative palletizing robot