Class CreateMoveRelativePayload
- Namespace
- Harp.StepperDriver
- Assembly
- Harp.StepperDriver.dll
Represents an operator that creates a message payload that moves all motors by the number of steps written in this array register and set the direction according to the value's signal. If a motor is disable, the user should set the value to 0.
public class CreateMoveRelativePayload
- Inheritance
-
CreateMoveRelativePayload
- Derived
- Inherited Members
Properties
- Motor0
Gets or sets a value that contains the number of steps used to move motor 0.
- Motor1
Gets or sets a value that contains the number of steps used to move motor 1.
- Motor2
Gets or sets a value that contains the number of steps used to move motor 2.
- Motor3
Gets or sets a value that contains the number of steps used to move motor 3.
Methods
- GetMessage(MessageType)
Creates a message that moves all motors by the number of steps written in this array register and set the direction according to the value's signal. If a motor is disable, the user should set the value to 0.
- GetPayload()
Creates a message payload for the MoveRelative register.