Enables fail safe mode - setting motors' speed after timeout.
Namespace:
AForge.Robotics.SurveyorAssembly: AForge.Robotics.Surveyor (in AForge.Robotics.Surveyor.dll) Version: 2.2.4.0 (2.2.4.0)
Syntax
Parameters
- leftSpeed
- Type: System..::.Int32
Left motor's speed, [-127, 127].
- rightSpeed
- Type: System..::.Int32
Right motor's speed, [-127, 127].
Remarks
In the case if fail safe mode is enabled and no commands are received by SRV-1 robot withing 2 seconds, motors' speed will be set to the specified values. The command is very useful to instruct robot to stop if no other commands were sent within 2 last seconds (probably lost connection).