Table of Contents

Class CreateTimestampedMotorRaisedErrorPayload

Namespace
Harp.StepperDriver
Assembly
Harp.StepperDriver.dll

Represents an operator that creates a timestamped message payload that contains a bit mask specifying the motor that triggered the error which can be happen in case of short-circuit or driver temperature above 165 degrees celsius.

public class CreateTimestampedMotorRaisedErrorPayload : CreateMotorRaisedErrorPayload
Inheritance
CreateTimestampedMotorRaisedErrorPayload
Inherited Members

Methods

GetMessage(double, MessageType)

Creates a timestamped message that contains a bit mask specifying the motor that triggered the error which can be happen in case of short-circuit or driver temperature above 165 degrees celsius.

public HarpMessage GetMessage(double timestamp, MessageType messageType)

Parameters

timestamp double

The timestamp of the message payload, in seconds.

messageType MessageType

Specifies the type of the created message.

Returns

HarpMessage

A new timestamped message for the MotorRaisedError register.