DriveStage Enumeration
Microsoft Robotics Class Reference
The status of the current drive operation (driveDistance or rotateDegrees) Only one operation can be pending (else it is canceled). Stage transitions: InitialRequest -> Started -> Completed Or: InitialRequest -> Started -> Canceled
Namespace: Microsoft.Robotics.Services.Drive
Assembly: RoboticsCommon (in RoboticsCommon.dll) Version: 4.0.261.0 (4.0.261.0)
Syntax
[DataContractAttribute]
public enum DriveStage
Members
Member name | Value | Description | |
---|---|---|---|
InitialRequest | 0 | A request to initiate a drive distance or rotate degrees operation | |
Started | 1 | A drive operation (drive distance or rotate degrees) has started | |
Canceled | 2 | The pending drive operation was canceled | |
Completed | 3 | Successful completion of a drive distance or rotate degrees operation |