Struct MagneticEncoderPayload
- Namespace
- Harp.OutputExpander
- Assembly
- Harp.OutputExpander.dll
Represents the payload of the MagneticEncoder register.
public struct MagneticEncoderPayload
- Inherited Members
Constructors
MagneticEncoderPayload(ushort, ushort)
Initializes a new instance of the MagneticEncoderPayload structure.
public MagneticEncoderPayload(ushort angle, ushort magnitude)
Parameters
angle
ushortThe angle position measurement of the magnetic encoder.
magnitude
ushortThe magnitude of the magnetic field.
Fields
Angle
The angle position measurement of the magnetic encoder.
public ushort Angle
Field Value
Magnitude
The magnitude of the magnetic field.
public ushort Magnitude