Stop specified motor.
Namespace:
AForge.Robotics.TeRKAssembly: AForge.Robotics.TeRK (in AForge.Robotics.TeRK.dll) Version: 2.2.3.0 (2.2.3.0)
Syntax
| C# |
|---|
public void StopMotor( int motor ) |
Parameters
- motor
- Type: System..::.Int32
Motor to stop, [0, Count).
Exceptions
| Exception | Condition |
|---|---|
| System..::.ArgumentOutOfRangeException | Invalid motor is specified. |
| AForge..::.NotConnectedException | No connection to Qwerk or its service. |
| AForge..::.ConnectionLostException | Connestion to Qwerk is lost. |