Class CreateTimestampedMotor2OperationModePayload
- Namespace
- Harp.StepperDriver
- Assembly
- Harp.StepperDriver.dll
Represents an operator that creates a timestamped message payload that configures the operation mode for motor 2.
public class CreateTimestampedMotor2OperationModePayload : CreateMotor2OperationModePayload
- Inheritance
-
CreateTimestampedMotor2OperationModePayload
- Inherited Members
Methods
GetMessage(double, MessageType)
Creates a timestamped message that configures the operation mode for motor 2.
public HarpMessage GetMessage(double timestamp, MessageType messageType)
Parameters
timestamp
doubleThe timestamp of the message payload, in seconds.
messageType
MessageTypeSpecifies the type of the created message.
Returns
- HarpMessage
A new timestamped message for the Motor2OperationMode register.