The present solution is generally directed to a patient positioning system used to position body parts, such as a knee, during a medical or surgical procedure. Further, the present solution is generally directed to a system and method for establishing and tracking virtual boundaries, and controlling a patient positioning system to adjust those virtual boundaries to facilitate an automated surgery procedure. Further, the present solution is generally directed to the synergistic combination of an autonomous patient positioning sub-system with a robotic surgical manipulator sub-system.