SetTimeout¶
-
virtual void IHoming::SetTimeout(double timeout) = 0¶
Sets the timeout used for this homing method.
- Parameters
timeout – Timeout in seconds. Negative value means infinite.
- Throws
CInvalidArgumentException– Invalid timeout value (NaN).CResourceBusyException– A homing method is currently being executed.CCommunicationErrorException– Protocol error.CConnectionLostException– Connection to controller lost.CRebootedException– Controller has been rebooted since this object reference was retrieved, invalidating this reference.
- Remarks
Failure to meet the specified method within the timeout specified leads to failure of homing, i.e. homing state will transit to EHomingState::Error.