Class CreateTimestampedAccumulatedStepsPayload
- Namespace
- Harp.StepperDriver
- Assembly
- Harp.StepperDriver.dll
Represents an operator that creates a timestamped message payload that contains the accumulated steps of all motors. Write a value to set the accumulated steps. An event will be emitted with a dispatch rate defined in AccumulatedStepsSamplingRate.
public class CreateTimestampedAccumulatedStepsPayload : CreateAccumulatedStepsPayload
- Inheritance
-
CreateTimestampedAccumulatedStepsPayload
- Inherited Members
Methods
GetMessage(double, MessageType)
Creates a timestamped message that contains the accumulated steps of all motors. Write a value to set the accumulated steps. An event will be emitted with a dispatch rate defined in AccumulatedStepsSamplingRate.
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 AccumulatedSteps register.