Ti:LiNbO3 Integrated Optical Sensor for Temperature Measurements and Control in Robotic Drives