Class CreateTimestampedMaxPositionPayload
- Namespace
- Harp.StepperDriver
- Assembly
- Harp.StepperDriver.dll
Represents an operator that creates a timestamped message payload that defines the limit of the accumulated steps for the positive movement of all motors. The device will not let the motors move further than this value. A value equal to 0 will disable the limits.
public class CreateTimestampedMaxPositionPayload : CreateMaxPositionPayload
- Inheritance
-
CreateTimestampedMaxPositionPayload
- Inherited Members
Methods
GetMessage(double, MessageType)
Creates a timestamped message that defines the limit of the accumulated steps for the positive movement of all motors. The device will not let the motors move further than this value. A value equal to 0 will disable the limits.
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 MaxPosition register.