Class CreateTimestampedMotor2StepRelativePayload
- Namespace
- Harp.StepperDriver
- Assembly
- Harp.StepperDriver.dll
Represents an operator that creates a timestamped message payload that starts the movement of motor 2 with the step interval defined by this register, disregarding the acceleration protocol. The sign of the value specifies the direction.
public class CreateTimestampedMotor2StepRelativePayload : CreateMotor2StepRelativePayload
- Inheritance
-
CreateTimestampedMotor2StepRelativePayload
- Inherited Members
Methods
GetMessage(double, MessageType)
Creates a timestamped message that starts the movement of motor 2 with the step interval defined by this register, disregarding the acceleration protocol. The sign of the value specifies the direction.
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 Motor2StepRelative register.