robot controller for LP flipping robot