Class CreateTimestampedEnableDriverPayload
- Namespace
- Harp.StepperDriver
- Assembly
- Harp.StepperDriver.dll
Represents an operator that creates a timestamped message payload that enables the driver for a specific motor. If the driver is already enabled, the driver remains enabled.
public class CreateTimestampedEnableDriverPayload : CreateEnableDriverPayload
- Inheritance
-
CreateTimestampedEnableDriverPayload
- Inherited Members
Methods
GetMessage(double, MessageType)
Creates a timestamped message that enables the driver for a specific motor. If the driver is already enabled, the driver remains enabled.
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 EnableDriver register.