A robotic surgical system includes at least one robot arm, at least one instrument, and a plurality of drive motors configured to drive the at least one robot arm and at least one instrument. The system also includes a laparoscopic port having a plurality of fiducials, a sensor configured to detect the plurality of fiducials, and a controller configured to control the plurality of drive motors. The controller includes a processor that determines a current distance between each fiducial among the plurality of fiducials, determines a location of the laparoscopic port based on the distance between each fiducial, determines a position of the at least one robot arm and the at least one instrument relative to the location of the laparoscopic port, and controls the plurality of drive motors to align the at least one robot arm or the at least one instrument with the laparoscopic port.