Robotic Tool Control Frame Calibration Based on a Planar Template