Enumeration of predefined motors' commands.
Namespace:
AForge.Robotics.SurveyorAssembly: AForge.Robotics.Surveyor (in AForge.Robotics.Surveyor.dll) Version: 2.2.3.0 (2.2.3.0)
Syntax
| C# |
|---|
public enum MotorCommand |
Members
| Member name | Description | |
|---|---|---|
| DriveForward |
Robot drive forward.
| |
| DriveBack |
Robot drive back.
| |
| DriveLeft |
Robot drive left.
| |
| DriveRight |
Robot drive right.
| |
| DriftLeft |
Robot drift left.
| |
| DriftRight |
Robot drift right.
| |
| Stop |
Robot stop.
| |
| DriveBackRight |
Robot drive back and right.
| |
| DriveBackLeft |
Robot drive back and left.
| |
| RotateLeft |
Robot rotate left 20 degrees.
| |
| RotateRight |
Robot rotate right 20 degrees.
| |
| IncreaseSpeed |
Increase motors' speed.
| |
| DecreaseSpeed |
Decrease motors' speed.
|
Remarks
This enumeration defines set of motors' commands, which can be executed using ControlMotors(SRV1..::.MotorCommand) method.