Stop both motors.
Namespace:
AForge.Robotics.SurveyorAssembly: AForge.Robotics.Surveyor (in AForge.Robotics.Surveyor.dll) Version: 2.2.3.0 (2.2.3.0)
Syntax
| C# |
|---|
public void StopMotors() |
Remarks
The method stops both motors connected to the SVS board by calling RunMotors(Int32, Int32, Int32) method specifying 0 for motors' speed.
Exceptions
| Exception | Condition |
|---|---|
| AForge..::.NotConnectedException | Not connected to SVS. Connect to SVS board before using this method. |