Class CreateTimestampedMotor2StepAccelerationIntervalPayload
- Namespace
- Harp.StepperDriver
- Assembly
- Harp.StepperDriver.dll
Represents an operator that creates a timestamped message payload that configures the acceleration for motor 2. The time between step pulses is decreased by this value when accelerating and increased when decelerating.
public class CreateTimestampedMotor2StepAccelerationIntervalPayload : CreateMotor2StepAccelerationIntervalPayload
- Inheritance
-
CreateTimestampedMotor2StepAccelerationIntervalPayload
- Inherited Members
Methods
GetMessage(double, MessageType)
Creates a timestamped message that configures the acceleration for motor 2. The time between step pulses is decreased by this value when accelerating and increased when decelerating.
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 Motor2StepAccelerationInterval register.