A method for identifying, recognizing, and/or discriminating at least one anomaly condition in using a master device, adapted to be held in hand by an operator, to control a slave device of robotic system for medical or surgical teleoperation, the master device is a hand-held device unconstrained with respect to said robotic system, the method comprising:
- detecting or calculating a velocity vector of at least one point belonging to or integral with the master device, or of a virtual point uniquely and rigidly associated with the master device;
- identifying at least one detectable anomaly based on said at least one detected velocity vector or based on at least one component of at least one detected position vector,
- wherein said at least one detectable anomaly comprises one or more of the following anomalies:
- excessive linear velocity of the master device, excessive angular velocity of the master device, an inability to follow by the slave device, excessive vibrations of the master device, involuntary or abnormal opening of the master device,
- and wherein each of said at least one detectable anomaly is associated with at least one state system change to be performed if the at least one detectable anomaly is detected, said at least one state change comprising exit from a teleoperation state or the suspension of the teleoperation state
- wherein said at least one detectable anomaly is said inability to follow by the slave device, and wherein said step of identifying at least one detectable anomaly comprises:
- comparing the measured linear or angular velocity of the master device with a velocity threshold value associated with a maximum linear or angular velocity which is tolerable by the slave device in order to remain under conditions of correct following of the master device;
- and
- identifying said inability to follow by the slave device if the detected linear or angular velocity of the master device exceeds said velocity threshold value associated with a maximum tolerable linear or angular velocity of the slave device.