Class BodyRigSensorSource

What one positional sensor slot on a BodyRig actually is: which physical peripheral feeds it, and which block in the pipeline it arrived through.

Inheritance
BodyRigSensorSource
Namespace: MOSAIC.Models.Devices
Assembly: MOSAIC.dll
Syntax
public sealed record BodyRigSensorSource : IEquatable<BodyRigSensorSource>

Constructors

BodyRigSensorSource(int, int?, string)

What one positional sensor slot on a BodyRig actually is: which physical peripheral feeds it, and which block in the pipeline it arrived through.

Declaration
public BodyRigSensorSource(int Slot, int? PeripheralId, string SourceName)
Parameters
Type Name Description
int Slot

Index of the quaternion group in the joined input vector — the number a segment's SensorIndex refers to, shown on the card as S0, S1, …

int? PeripheralId

The number set on the ESP node itself, or null when the pipeline does not make it knowable (no UDP source upstream, or a port outside the BodyRig range).

string SourceName

Name of the block that contributed this group.

Properties

Label

Slot with the peripheral number appended when it is known, e.g. S1 · #92.

Declaration
public string Label { get; }
Property Value
Type Description
string
Remarks

Both halves are kept deliberately. The slot is what the binding and the calibration file mean; the peripheral is what is physically strapped to the participant and printed in the lab protocol. Showing only one of them forces the reader to hold the other in their head.

PeripheralId

The number set on the ESP node itself, or null when the pipeline does not make it knowable (no UDP source upstream, or a port outside the BodyRig range).

Declaration
public int? PeripheralId { get; init; }
Property Value
Type Description
int?

Slot

Index of the quaternion group in the joined input vector — the number a segment's SensorIndex refers to, shown on the card as S0, S1, …

Declaration
public int Slot { get; init; }
Property Value
Type Description
int

SourceName

Name of the block that contributed this group.

Declaration
public string SourceName { get; init; }
Property Value
Type Description
string

UdpPort

The UDP port this peripheral transmits on, when it is known.

Declaration
public int? UdpPort { get; }
Property Value
Type Description
int?

Implements

IEquatable<T>

Search documentation

Start typing to search the documentation.