Class ManualControl

Manual slider-driven source of DegreesOfActuation values. Produces the same output format as ControlAlgorithm (Dictionary<DegreesOfActuation, double>, values in the 0–100 range), so it can be placed directly in front of UdpStreamlinedSender to manually drive the Unity hand.

JSON configuration

Use these block entries inside a pipeline configuration. Input names must match other blocks in that pipeline; device addresses and file paths must match your setup.

JSON configuration using ManualControl with a Clock upstream and UdpStreamlinedSender downstream:

{
  "Clock":         { "Type": "Clock",               "DesiredRate": 30 },
  "ManualControl": { "Type": "ManualControl",       "Inputs": ["Clock"] },
  "UdpToUnity":    { "Type": "UdpStreamlinedSender","Inputs": ["ManualControl"],
                     "Params": ["localhost", 11000] }
}

Note: UdpStreamlinedSender dispatches on the upstream block's type name, so its OnReceive switch must include a case for "ManualControl" alongside "ControlAlgorithm".

Params: None. All settings are controlled from the UI.

How Type, Inputs and Params work · Block catalogue and parameter reference

Inheritance
ManualControl
Namespace: MOSAIC.Models.FlowControl
Assembly: MOSAIC.dll
Syntax
public sealed class ManualControl : BaseBlock, INotifyPropertyChanged, INotifyPropertyChanging, ISubscriber, IPublisher, IBaseBlockProps, IJsonExportable, IDisposable, IAsyncDisposable
Remarks

Overview: On each tick received from an upstream source (typically a ClockBlock), the block snapshots the current slider values, builds a dictionary containing only the DOAs whose group and individual enable flag are both true, publishes it downstream, and feeds its scope.

Group gating: The FingersEnabled, WristEnabled and ElbowEnabled flags gate entire sections. When a group flag is false, none of the DOAs in that group are published, regardless of per-DOA flags. This is the fast way to shorten the downstream UDP protocol when a body segment is not in use.

Master HOC: The HandOpenClose slider acts as a master control. When LinkFingers is true, moving the HOC slider sets all five finger sliders to the same value, giving a single-DOF grasp control.

Value range: Sliders are in [0, 100], matching the convention used by ControlAlgorithm strategies. Unity remaps to actuator space per-DOA in its Inspector.

Source block: Driven by tick events on OnReceive(object, object). The incoming data value is ignored — only tick arrival matters. Wire any periodic publisher (e.g. ClockBlock) as input.

CSV logging: When a Path is specified, Dumper automatically logs the published value vector via Publish(object).

Constructors

ManualControl(string, double)

Initializes a new ManualControl block.

Declaration
public ManualControl(string name = "ManualControl", double desiredRate = 0)
Parameters
Type Name Description
string name
double desiredRate

Fields

_elbowEnabled

Group gate for the two elbow DOAs. When false, no elbow DOA is published.

Declaration
[ObservableProperty]
private bool _elbowEnabled
Field Value
Type Description
bool

_elbowExtension

Elbow extension activation (0–100, 0 = no activation).

Declaration
[ObservableProperty]
private double _elbowExtension
Field Value
Type Description
double

_elbowFlexion

Elbow flexion activation (0–100, 0 = no activation).

Declaration
[ObservableProperty]
private double _elbowFlexion
Field Value
Type Description
double

_fingersEnabled

Group gate for all six finger DOAs. When false, no finger DOA is published.

Declaration
[ObservableProperty]
private bool _fingersEnabled
Field Value
Type Description
bool

_handOpenClose

Master hand open/close slider (0–100). Drives all finger sliders when LinkFingers is true.

Declaration
[ObservableProperty]
private double _handOpenClose
Field Value
Type Description
double

_index

Declaration
[ObservableProperty]
private double _index
Field Value
Type Description
double

_linkFingers

When true, changes to HandOpenClose propagate to all five finger sliders, giving a single-DOF grasp control.

Declaration
[ObservableProperty]
private bool _linkFingers
Field Value
Type Description
bool

_little

Declaration
[ObservableProperty]
private double _little
Field Value
Type Description
double

_lock

Declaration
private readonly object _lock
Field Value
Type Description
object

_middle

Declaration
[ObservableProperty]
private double _middle
Field Value
Type Description
double

_ring

Declaration
[ObservableProperty]
private double _ring
Field Value
Type Description
double

_sendElbowExtension

Declaration
[ObservableProperty]
private bool _sendElbowExtension
Field Value
Type Description
bool

_sendElbowFlexion

Declaration
[ObservableProperty]
private bool _sendElbowFlexion
Field Value
Type Description
bool

_sendHandOpenClose

Include HandOpenClose as its own entry in the published dictionary. Independent of LinkFingers.

Declaration
[ObservableProperty]
private bool _sendHandOpenClose
Field Value
Type Description
bool

_sendIndex

Declaration
[ObservableProperty]
private bool _sendIndex
Field Value
Type Description
bool

_sendLittle

Declaration
[ObservableProperty]
private bool _sendLittle
Field Value
Type Description
bool

_sendMiddle

Declaration
[ObservableProperty]
private bool _sendMiddle
Field Value
Type Description
bool

_sendRing

Declaration
[ObservableProperty]
private bool _sendRing
Field Value
Type Description
bool

_sendThumbFlexion

Declaration
[ObservableProperty]
private bool _sendThumbFlexion
Field Value
Type Description
bool

_sendThumbRotation

Declaration
[ObservableProperty]
private bool _sendThumbRotation
Field Value
Type Description
bool

_sendWristFlexionExtension

Declaration
[ObservableProperty]
private bool _sendWristFlexionExtension
Field Value
Type Description
bool

_sendWristPronationSupination

Declaration
[ObservableProperty]
private bool _sendWristPronationSupination
Field Value
Type Description
bool

_sendWristUlnarRadial

Declaration
[ObservableProperty]
private bool _sendWristUlnarRadial
Field Value
Type Description
bool

_thumbFlexion

Declaration
[ObservableProperty]
private double _thumbFlexion
Field Value
Type Description
double

_thumbRotation

Declaration
[ObservableProperty]
private double _thumbRotation
Field Value
Type Description
double

_wristEnabled

Group gate for the three wrist DOAs. When false, no wrist DOA is published.

Declaration
[ObservableProperty]
private bool _wristEnabled
Field Value
Type Description
bool

_wristFlexionExtension

Declaration
[ObservableProperty]
private double _wristFlexionExtension
Field Value
Type Description
double

_wristPronationSupination

Declaration
[ObservableProperty]
private double _wristPronationSupination
Field Value
Type Description
double

_wristUlnarRadial

Declaration
[ObservableProperty]
private double _wristUlnarRadial
Field Value
Type Description
double

Properties

DumpFilePrefix

Recordings from this block are named <block>_dof.csv.

Declaration
protected override string DumpFilePrefix { get; }
Property Value
Type Description
string
Overrides
BaseBlock.DumpFilePrefix

ElbowEnabled

Group gate for the two elbow DOAs. When false, no elbow DOA is published.

Declaration
[ExcludeFromCodeCoverage]
public bool ElbowEnabled { get; set; }
Property Value
Type Description
bool

ElbowExtension

Elbow extension activation (0–100, 0 = no activation).

Declaration
[ExcludeFromCodeCoverage]
public double ElbowExtension { get; set; }
Property Value
Type Description
double

ElbowFlexion

Elbow flexion activation (0–100, 0 = no activation).

Declaration
[ExcludeFromCodeCoverage]
public double ElbowFlexion { get; set; }
Property Value
Type Description
double

FingersEnabled

Group gate for all six finger DOAs. When false, no finger DOA is published.

Declaration
[ExcludeFromCodeCoverage]
public bool FingersEnabled { get; set; }
Property Value
Type Description
bool

HandOpenClose

Master hand open/close slider (0–100). Drives all finger sliders when LinkFingers is true.

Declaration
[ExcludeFromCodeCoverage]
public double HandOpenClose { get; set; }
Property Value
Type Description
double

Index

Declaration
[ExcludeFromCodeCoverage]
public double Index { get; set; }
Property Value
Type Description
double

JsonTypeName

Block type identifier for JSON serialization. Override for a custom name.

Declaration
protected override string JsonTypeName { get; }
Property Value
Type Description
string
Overrides
BaseBlock.JsonTypeName

LinkFingers

When true, changes to HandOpenClose propagate to all five finger sliders, giving a single-DOF grasp control.

Declaration
[ExcludeFromCodeCoverage]
public bool LinkFingers { get; set; }
Property Value
Type Description
bool

Little

Declaration
[ExcludeFromCodeCoverage]
public double Little { get; set; }
Property Value
Type Description
double

Middle

Declaration
[ExcludeFromCodeCoverage]
public double Middle { get; set; }
Property Value
Type Description
double

Ring

Declaration
[ExcludeFromCodeCoverage]
public double Ring { get; set; }
Property Value
Type Description
double

SendElbowExtension

Declaration
[ExcludeFromCodeCoverage]
public bool SendElbowExtension { get; set; }
Property Value
Type Description
bool

SendElbowFlexion

Declaration
[ExcludeFromCodeCoverage]
public bool SendElbowFlexion { get; set; }
Property Value
Type Description
bool

SendHandOpenClose

Include HandOpenClose as its own entry in the published dictionary. Independent of LinkFingers.

Declaration
[ExcludeFromCodeCoverage]
public bool SendHandOpenClose { get; set; }
Property Value
Type Description
bool

SendIndex

Declaration
[ExcludeFromCodeCoverage]
public bool SendIndex { get; set; }
Property Value
Type Description
bool

SendLittle

Declaration
[ExcludeFromCodeCoverage]
public bool SendLittle { get; set; }
Property Value
Type Description
bool

SendMiddle

Declaration
[ExcludeFromCodeCoverage]
public bool SendMiddle { get; set; }
Property Value
Type Description
bool

SendRing

Declaration
[ExcludeFromCodeCoverage]
public bool SendRing { get; set; }
Property Value
Type Description
bool

SendThumbFlexion

Declaration
[ExcludeFromCodeCoverage]
public bool SendThumbFlexion { get; set; }
Property Value
Type Description
bool

SendThumbRotation

Declaration
[ExcludeFromCodeCoverage]
public bool SendThumbRotation { get; set; }
Property Value
Type Description
bool

SendWristFlexionExtension

Declaration
[ExcludeFromCodeCoverage]
public bool SendWristFlexionExtension { get; set; }
Property Value
Type Description
bool

SendWristPronationSupination

Declaration
[ExcludeFromCodeCoverage]
public bool SendWristPronationSupination { get; set; }
Property Value
Type Description
bool

SendWristUlnarRadial

Declaration
[ExcludeFromCodeCoverage]
public bool SendWristUlnarRadial { get; set; }
Property Value
Type Description
bool

ThumbFlexion

Declaration
[ExcludeFromCodeCoverage]
public double ThumbFlexion { get; set; }
Property Value
Type Description
double

ThumbRotation

Declaration
[ExcludeFromCodeCoverage]
public double ThumbRotation { get; set; }
Property Value
Type Description
double

Visualization

This block's visualization, or null when it has none.

Declaration
protected override BlockVisualization? Visualization { get; }
Property Value
Type Description
BlockVisualization
Overrides
BaseBlock.Visualization
Remarks

Blocks own their scope as a public Viz property rather than inheriting one, so the base class has no way to reach it. Overriding this is what lets the rate below be wired up automatically. With correct publication metadata, the bundle derives the time axis for one vector per publication or fixed-size contiguous sample packets from the feed shape.

When a plot needs a rate that publication frequency and feed shape cannot express (for example, variable-sized packets or overlapping windows), declare it with Viz.UpdateSignalRate. An explicit declaration wins over the derived rate. A block with several bundles must configure each one; this hook exposes only one bundle.

Viz

Visualization bundle for the card UI (scope of published values).

Declaration
public BlockVisualization Viz { get; set; }
Property Value
Type Description
BlockVisualization

WristEnabled

Group gate for the three wrist DOAs. When false, no wrist DOA is published.

Declaration
[ExcludeFromCodeCoverage]
public bool WristEnabled { get; set; }
Property Value
Type Description
bool

WristFlexionExtension

Declaration
[ExcludeFromCodeCoverage]
public double WristFlexionExtension { get; set; }
Property Value
Type Description
double

WristPronationSupination

Declaration
[ExcludeFromCodeCoverage]
public double WristPronationSupination { get; set; }
Property Value
Type Description
double

WristUlnarRadial

Declaration
[ExcludeFromCodeCoverage]
public double WristUlnarRadial { get; set; }
Property Value
Type Description
double

Methods

ConfigureInput(IServiceProvider, JsonModel)

Creates a ManualControl from a JSON pipeline definition.

Declaration
public static ManualControl ConfigureInput(IServiceProvider sp, JsonModel m)
Parameters
Type Name Description
IServiceProvider sp
JsonModel m
Returns
Type Description
ManualControl

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Declaration
public override void Dispose()
Overrides
BaseBlock.Dispose()

GetJsonParams()

Block-specific parameters for JSON. Override to provide custom parameters.

Declaration
protected override IReadOnlyList<object>? GetJsonParams()
Returns
Type Description
IReadOnlyList<object>

The values for Params, in the order this block's ConfigureInput reads them, or null when the block takes no parameters.

Overrides
BaseBlock.GetJsonParams()

Neutral()

Sets all DOAs to the neutral mid-point (50).

Declaration
public void Neutral()

OnElbowEnabledChanged(bool)

Executes the logic for when ElbowEnabled just changed.

Declaration
private void OnElbowEnabledChanged(bool value)
Parameters
Type Name Description
bool value

The new property value that was set.

Remarks

This method is invoked right after the value of ElbowEnabled is changed.

OnElbowEnabledChanged(bool, bool)

Executes the logic for when ElbowEnabled just changed.

Declaration
private void OnElbowEnabledChanged(bool oldValue, bool newValue)
Parameters
Type Name Description
bool oldValue

The previous property value that was replaced.

bool newValue

The new property value that was set.

Remarks

This method is invoked right after the value of ElbowEnabled is changed.

OnElbowEnabledChanging(bool)

Executes the logic for when ElbowEnabled is changing.

Declaration
private void OnElbowEnabledChanging(bool value)
Parameters
Type Name Description
bool value

The new property value being set.

Remarks

This method is invoked right before the value of ElbowEnabled is changed.

OnElbowEnabledChanging(bool, bool)

Executes the logic for when ElbowEnabled is changing.

Declaration
private void OnElbowEnabledChanging(bool oldValue, bool newValue)
Parameters
Type Name Description
bool oldValue

The previous property value that is being replaced.

bool newValue

The new property value being set.

Remarks

This method is invoked right before the value of ElbowEnabled is changed.

OnElbowExtensionChanged(double)

Executes the logic for when ElbowExtension just changed.

Declaration
private void OnElbowExtensionChanged(double value)
Parameters
Type Name Description
double value

The new property value that was set.

Remarks

This method is invoked right after the value of ElbowExtension is changed.

OnElbowExtensionChanged(double, double)

Executes the logic for when ElbowExtension just changed.

Declaration
private void OnElbowExtensionChanged(double oldValue, double newValue)
Parameters
Type Name Description
double oldValue

The previous property value that was replaced.

double newValue

The new property value that was set.

Remarks

This method is invoked right after the value of ElbowExtension is changed.

OnElbowExtensionChanging(double)

Executes the logic for when ElbowExtension is changing.

Declaration
private void OnElbowExtensionChanging(double value)
Parameters
Type Name Description
double value

The new property value being set.

Remarks

This method is invoked right before the value of ElbowExtension is changed.

OnElbowExtensionChanging(double, double)

Executes the logic for when ElbowExtension is changing.

Declaration
private void OnElbowExtensionChanging(double oldValue, double newValue)
Parameters
Type Name Description
double oldValue

The previous property value that is being replaced.

double newValue

The new property value being set.

Remarks

This method is invoked right before the value of ElbowExtension is changed.

OnElbowFlexionChanged(double)

Executes the logic for when ElbowFlexion just changed.

Declaration
private void OnElbowFlexionChanged(double value)
Parameters
Type Name Description
double value

The new property value that was set.

Remarks

This method is invoked right after the value of ElbowFlexion is changed.

OnElbowFlexionChanged(double, double)

Executes the logic for when ElbowFlexion just changed.

Declaration
private void OnElbowFlexionChanged(double oldValue, double newValue)
Parameters
Type Name Description
double oldValue

The previous property value that was replaced.

double newValue

The new property value that was set.

Remarks

This method is invoked right after the value of ElbowFlexion is changed.

OnElbowFlexionChanging(double)

Executes the logic for when ElbowFlexion is changing.

Declaration
private void OnElbowFlexionChanging(double value)
Parameters
Type Name Description
double value

The new property value being set.

Remarks

This method is invoked right before the value of ElbowFlexion is changed.

OnElbowFlexionChanging(double, double)

Executes the logic for when ElbowFlexion is changing.

Declaration
private void OnElbowFlexionChanging(double oldValue, double newValue)
Parameters
Type Name Description
double oldValue

The previous property value that is being replaced.

double newValue

The new property value being set.

Remarks

This method is invoked right before the value of ElbowFlexion is changed.

OnFingersEnabledChanged(bool)

Executes the logic for when FingersEnabled just changed.

Declaration
private void OnFingersEnabledChanged(bool value)
Parameters
Type Name Description
bool value

The new property value that was set.

Remarks

This method is invoked right after the value of FingersEnabled is changed.

OnFingersEnabledChanged(bool, bool)

Executes the logic for when FingersEnabled just changed.

Declaration
private void OnFingersEnabledChanged(bool oldValue, bool newValue)
Parameters
Type Name Description
bool oldValue

The previous property value that was replaced.

bool newValue

The new property value that was set.

Remarks

This method is invoked right after the value of FingersEnabled is changed.

OnFingersEnabledChanging(bool)

Executes the logic for when FingersEnabled is changing.

Declaration
private void OnFingersEnabledChanging(bool value)
Parameters
Type Name Description
bool value

The new property value being set.

Remarks

This method is invoked right before the value of FingersEnabled is changed.

OnFingersEnabledChanging(bool, bool)

Executes the logic for when FingersEnabled is changing.

Declaration
private void OnFingersEnabledChanging(bool oldValue, bool newValue)
Parameters
Type Name Description
bool oldValue

The previous property value that is being replaced.

bool newValue

The new property value being set.

Remarks

This method is invoked right before the value of FingersEnabled is changed.

OnHandOpenCloseChanged(double)

Executes the logic for when HandOpenClose just changed.

Declaration
private void OnHandOpenCloseChanged(double value)
Parameters
Type Name Description
double value

The new property value that was set.

Remarks

This method is invoked right after the value of HandOpenClose is changed.

OnHandOpenCloseChanged(double, double)

Executes the logic for when HandOpenClose just changed.

Declaration
private void OnHandOpenCloseChanged(double oldValue, double newValue)
Parameters
Type Name Description
double oldValue

The previous property value that was replaced.

double newValue

The new property value that was set.

Remarks

This method is invoked right after the value of HandOpenClose is changed.

OnHandOpenCloseChanging(double)

Executes the logic for when HandOpenClose is changing.

Declaration
private void OnHandOpenCloseChanging(double value)
Parameters
Type Name Description
double value

The new property value being set.

Remarks

This method is invoked right before the value of HandOpenClose is changed.

OnHandOpenCloseChanging(double, double)

Executes the logic for when HandOpenClose is changing.

Declaration
private void OnHandOpenCloseChanging(double oldValue, double newValue)
Parameters
Type Name Description
double oldValue

The previous property value that is being replaced.

double newValue

The new property value being set.

Remarks

This method is invoked right before the value of HandOpenClose is changed.

OnIndexChanged(double)

Executes the logic for when Index just changed.

Declaration
private void OnIndexChanged(double value)
Parameters
Type Name Description
double value

The new property value that was set.

Remarks

This method is invoked right after the value of Index is changed.

OnIndexChanged(double, double)

Executes the logic for when Index just changed.

Declaration
private void OnIndexChanged(double oldValue, double newValue)
Parameters
Type Name Description
double oldValue

The previous property value that was replaced.

double newValue

The new property value that was set.

Remarks

This method is invoked right after the value of Index is changed.

OnIndexChanging(double)

Executes the logic for when Index is changing.

Declaration
private void OnIndexChanging(double value)
Parameters
Type Name Description
double value

The new property value being set.

Remarks

This method is invoked right before the value of Index is changed.

OnIndexChanging(double, double)

Executes the logic for when Index is changing.

Declaration
private void OnIndexChanging(double oldValue, double newValue)
Parameters
Type Name Description
double oldValue

The previous property value that is being replaced.

double newValue

The new property value being set.

Remarks

This method is invoked right before the value of Index is changed.

OnLinkFingersChanged(bool)

Executes the logic for when LinkFingers just changed.

Declaration
private void OnLinkFingersChanged(bool value)
Parameters
Type Name Description
bool value

The new property value that was set.

Remarks

This method is invoked right after the value of LinkFingers is changed.

OnLinkFingersChanged(bool, bool)

Executes the logic for when LinkFingers just changed.

Declaration
private void OnLinkFingersChanged(bool oldValue, bool newValue)
Parameters
Type Name Description
bool oldValue

The previous property value that was replaced.

bool newValue

The new property value that was set.

Remarks

This method is invoked right after the value of LinkFingers is changed.

OnLinkFingersChanging(bool)

Executes the logic for when LinkFingers is changing.

Declaration
private void OnLinkFingersChanging(bool value)
Parameters
Type Name Description
bool value

The new property value being set.

Remarks

This method is invoked right before the value of LinkFingers is changed.

OnLinkFingersChanging(bool, bool)

Executes the logic for when LinkFingers is changing.

Declaration
private void OnLinkFingersChanging(bool oldValue, bool newValue)
Parameters
Type Name Description
bool oldValue

The previous property value that is being replaced.

bool newValue

The new property value being set.

Remarks

This method is invoked right before the value of LinkFingers is changed.

OnLittleChanged(double)

Executes the logic for when Little just changed.

Declaration
private void OnLittleChanged(double value)
Parameters
Type Name Description
double value

The new property value that was set.

Remarks

This method is invoked right after the value of Little is changed.

OnLittleChanged(double, double)

Executes the logic for when Little just changed.

Declaration
private void OnLittleChanged(double oldValue, double newValue)
Parameters
Type Name Description
double oldValue

The previous property value that was replaced.

double newValue

The new property value that was set.

Remarks

This method is invoked right after the value of Little is changed.

OnLittleChanging(double)

Executes the logic for when Little is changing.

Declaration
private void OnLittleChanging(double value)
Parameters
Type Name Description
double value

The new property value being set.

Remarks

This method is invoked right before the value of Little is changed.

OnLittleChanging(double, double)

Executes the logic for when Little is changing.

Declaration
private void OnLittleChanging(double oldValue, double newValue)
Parameters
Type Name Description
double oldValue

The previous property value that is being replaced.

double newValue

The new property value being set.

Remarks

This method is invoked right before the value of Little is changed.

OnMiddleChanged(double)

Executes the logic for when Middle just changed.

Declaration
private void OnMiddleChanged(double value)
Parameters
Type Name Description
double value

The new property value that was set.

Remarks

This method is invoked right after the value of Middle is changed.

OnMiddleChanged(double, double)

Executes the logic for when Middle just changed.

Declaration
private void OnMiddleChanged(double oldValue, double newValue)
Parameters
Type Name Description
double oldValue

The previous property value that was replaced.

double newValue

The new property value that was set.

Remarks

This method is invoked right after the value of Middle is changed.

OnMiddleChanging(double)

Executes the logic for when Middle is changing.

Declaration
private void OnMiddleChanging(double value)
Parameters
Type Name Description
double value

The new property value being set.

Remarks

This method is invoked right before the value of Middle is changed.

OnMiddleChanging(double, double)

Executes the logic for when Middle is changing.

Declaration
private void OnMiddleChanging(double oldValue, double newValue)
Parameters
Type Name Description
double oldValue

The previous property value that is being replaced.

double newValue

The new property value being set.

Remarks

This method is invoked right before the value of Middle is changed.

OnReceive(object, object)

On each tick from the upstream source, snapshot the enabled DOAs and publish the dictionary. The incoming data value is ignored.

Declaration
protected override void OnReceive(object sender, object value)
Parameters
Type Name Description
object sender
object value
Overrides
BaseBlock.OnReceive(object, object)

OnRingChanged(double)

Executes the logic for when Ring just changed.

Declaration
private void OnRingChanged(double value)
Parameters
Type Name Description
double value

The new property value that was set.

Remarks

This method is invoked right after the value of Ring is changed.

OnRingChanged(double, double)

Executes the logic for when Ring just changed.

Declaration
private void OnRingChanged(double oldValue, double newValue)
Parameters
Type Name Description
double oldValue

The previous property value that was replaced.

double newValue

The new property value that was set.

Remarks

This method is invoked right after the value of Ring is changed.

OnRingChanging(double)

Executes the logic for when Ring is changing.

Declaration
private void OnRingChanging(double value)
Parameters
Type Name Description
double value

The new property value being set.

Remarks

This method is invoked right before the value of Ring is changed.

OnRingChanging(double, double)

Executes the logic for when Ring is changing.

Declaration
private void OnRingChanging(double oldValue, double newValue)
Parameters
Type Name Description
double oldValue

The previous property value that is being replaced.

double newValue

The new property value being set.

Remarks

This method is invoked right before the value of Ring is changed.

OnSendElbowExtensionChanged(bool)

Executes the logic for when SendElbowExtension just changed.

Declaration
private void OnSendElbowExtensionChanged(bool value)
Parameters
Type Name Description
bool value

The new property value that was set.

Remarks

This method is invoked right after the value of SendElbowExtension is changed.

OnSendElbowExtensionChanged(bool, bool)

Executes the logic for when SendElbowExtension just changed.

Declaration
private void OnSendElbowExtensionChanged(bool oldValue, bool newValue)
Parameters
Type Name Description
bool oldValue

The previous property value that was replaced.

bool newValue

The new property value that was set.

Remarks

This method is invoked right after the value of SendElbowExtension is changed.

OnSendElbowExtensionChanging(bool)

Executes the logic for when SendElbowExtension is changing.

Declaration
private void OnSendElbowExtensionChanging(bool value)
Parameters
Type Name Description
bool value

The new property value being set.

Remarks

This method is invoked right before the value of SendElbowExtension is changed.

OnSendElbowExtensionChanging(bool, bool)

Executes the logic for when SendElbowExtension is changing.

Declaration
private void OnSendElbowExtensionChanging(bool oldValue, bool newValue)
Parameters
Type Name Description
bool oldValue

The previous property value that is being replaced.

bool newValue

The new property value being set.

Remarks

This method is invoked right before the value of SendElbowExtension is changed.

OnSendElbowFlexionChanged(bool)

Executes the logic for when SendElbowFlexion just changed.

Declaration
private void OnSendElbowFlexionChanged(bool value)
Parameters
Type Name Description
bool value

The new property value that was set.

Remarks

This method is invoked right after the value of SendElbowFlexion is changed.

OnSendElbowFlexionChanged(bool, bool)

Executes the logic for when SendElbowFlexion just changed.

Declaration
private void OnSendElbowFlexionChanged(bool oldValue, bool newValue)
Parameters
Type Name Description
bool oldValue

The previous property value that was replaced.

bool newValue

The new property value that was set.

Remarks

This method is invoked right after the value of SendElbowFlexion is changed.

OnSendElbowFlexionChanging(bool)

Executes the logic for when SendElbowFlexion is changing.

Declaration
private void OnSendElbowFlexionChanging(bool value)
Parameters
Type Name Description
bool value

The new property value being set.

Remarks

This method is invoked right before the value of SendElbowFlexion is changed.

OnSendElbowFlexionChanging(bool, bool)

Executes the logic for when SendElbowFlexion is changing.

Declaration
private void OnSendElbowFlexionChanging(bool oldValue, bool newValue)
Parameters
Type Name Description
bool oldValue

The previous property value that is being replaced.

bool newValue

The new property value being set.

Remarks

This method is invoked right before the value of SendElbowFlexion is changed.

OnSendHandOpenCloseChanged(bool)

Executes the logic for when SendHandOpenClose just changed.

Declaration
private void OnSendHandOpenCloseChanged(bool value)
Parameters
Type Name Description
bool value

The new property value that was set.

Remarks

This method is invoked right after the value of SendHandOpenClose is changed.

OnSendHandOpenCloseChanged(bool, bool)

Executes the logic for when SendHandOpenClose just changed.

Declaration
private void OnSendHandOpenCloseChanged(bool oldValue, bool newValue)
Parameters
Type Name Description
bool oldValue

The previous property value that was replaced.

bool newValue

The new property value that was set.

Remarks

This method is invoked right after the value of SendHandOpenClose is changed.

OnSendHandOpenCloseChanging(bool)

Executes the logic for when SendHandOpenClose is changing.

Declaration
private void OnSendHandOpenCloseChanging(bool value)
Parameters
Type Name Description
bool value

The new property value being set.

Remarks

This method is invoked right before the value of SendHandOpenClose is changed.

OnSendHandOpenCloseChanging(bool, bool)

Executes the logic for when SendHandOpenClose is changing.

Declaration
private void OnSendHandOpenCloseChanging(bool oldValue, bool newValue)
Parameters
Type Name Description
bool oldValue

The previous property value that is being replaced.

bool newValue

The new property value being set.

Remarks

This method is invoked right before the value of SendHandOpenClose is changed.

OnSendIndexChanged(bool)

Executes the logic for when SendIndex just changed.

Declaration
private void OnSendIndexChanged(bool value)
Parameters
Type Name Description
bool value

The new property value that was set.

Remarks

This method is invoked right after the value of SendIndex is changed.

OnSendIndexChanged(bool, bool)

Executes the logic for when SendIndex just changed.

Declaration
private void OnSendIndexChanged(bool oldValue, bool newValue)
Parameters
Type Name Description
bool oldValue

The previous property value that was replaced.

bool newValue

The new property value that was set.

Remarks

This method is invoked right after the value of SendIndex is changed.

OnSendIndexChanging(bool)

Executes the logic for when SendIndex is changing.

Declaration
private void OnSendIndexChanging(bool value)
Parameters
Type Name Description
bool value

The new property value being set.

Remarks

This method is invoked right before the value of SendIndex is changed.

OnSendIndexChanging(bool, bool)

Executes the logic for when SendIndex is changing.

Declaration
private void OnSendIndexChanging(bool oldValue, bool newValue)
Parameters
Type Name Description
bool oldValue

The previous property value that is being replaced.

bool newValue

The new property value being set.

Remarks

This method is invoked right before the value of SendIndex is changed.

OnSendLittleChanged(bool)

Executes the logic for when SendLittle just changed.

Declaration
private void OnSendLittleChanged(bool value)
Parameters
Type Name Description
bool value

The new property value that was set.

Remarks

This method is invoked right after the value of SendLittle is changed.

OnSendLittleChanged(bool, bool)

Executes the logic for when SendLittle just changed.

Declaration
private void OnSendLittleChanged(bool oldValue, bool newValue)
Parameters
Type Name Description
bool oldValue

The previous property value that was replaced.

bool newValue

The new property value that was set.

Remarks

This method is invoked right after the value of SendLittle is changed.

OnSendLittleChanging(bool)

Executes the logic for when SendLittle is changing.

Declaration
private void OnSendLittleChanging(bool value)
Parameters
Type Name Description
bool value

The new property value being set.

Remarks

This method is invoked right before the value of SendLittle is changed.

OnSendLittleChanging(bool, bool)

Executes the logic for when SendLittle is changing.

Declaration
private void OnSendLittleChanging(bool oldValue, bool newValue)
Parameters
Type Name Description
bool oldValue

The previous property value that is being replaced.

bool newValue

The new property value being set.

Remarks

This method is invoked right before the value of SendLittle is changed.

OnSendMiddleChanged(bool)

Executes the logic for when SendMiddle just changed.

Declaration
private void OnSendMiddleChanged(bool value)
Parameters
Type Name Description
bool value

The new property value that was set.

Remarks

This method is invoked right after the value of SendMiddle is changed.

OnSendMiddleChanged(bool, bool)

Executes the logic for when SendMiddle just changed.

Declaration
private void OnSendMiddleChanged(bool oldValue, bool newValue)
Parameters
Type Name Description
bool oldValue

The previous property value that was replaced.

bool newValue

The new property value that was set.

Remarks

This method is invoked right after the value of SendMiddle is changed.

OnSendMiddleChanging(bool)

Executes the logic for when SendMiddle is changing.

Declaration
private void OnSendMiddleChanging(bool value)
Parameters
Type Name Description
bool value

The new property value being set.

Remarks

This method is invoked right before the value of SendMiddle is changed.

OnSendMiddleChanging(bool, bool)

Executes the logic for when SendMiddle is changing.

Declaration
private void OnSendMiddleChanging(bool oldValue, bool newValue)
Parameters
Type Name Description
bool oldValue

The previous property value that is being replaced.

bool newValue

The new property value being set.

Remarks

This method is invoked right before the value of SendMiddle is changed.

OnSendRingChanged(bool)

Executes the logic for when SendRing just changed.

Declaration
private void OnSendRingChanged(bool value)
Parameters
Type Name Description
bool value

The new property value that was set.

Remarks

This method is invoked right after the value of SendRing is changed.

OnSendRingChanged(bool, bool)

Executes the logic for when SendRing just changed.

Declaration
private void OnSendRingChanged(bool oldValue, bool newValue)
Parameters
Type Name Description
bool oldValue

The previous property value that was replaced.

bool newValue

The new property value that was set.

Remarks

This method is invoked right after the value of SendRing is changed.

OnSendRingChanging(bool)

Executes the logic for when SendRing is changing.

Declaration
private void OnSendRingChanging(bool value)
Parameters
Type Name Description
bool value

The new property value being set.

Remarks

This method is invoked right before the value of SendRing is changed.

OnSendRingChanging(bool, bool)

Executes the logic for when SendRing is changing.

Declaration
private void OnSendRingChanging(bool oldValue, bool newValue)
Parameters
Type Name Description
bool oldValue

The previous property value that is being replaced.

bool newValue

The new property value being set.

Remarks

This method is invoked right before the value of SendRing is changed.

OnSendThumbFlexionChanged(bool)

Executes the logic for when SendThumbFlexion just changed.

Declaration
private void OnSendThumbFlexionChanged(bool value)
Parameters
Type Name Description
bool value

The new property value that was set.

Remarks

This method is invoked right after the value of SendThumbFlexion is changed.

OnSendThumbFlexionChanged(bool, bool)

Executes the logic for when SendThumbFlexion just changed.

Declaration
private void OnSendThumbFlexionChanged(bool oldValue, bool newValue)
Parameters
Type Name Description
bool oldValue

The previous property value that was replaced.

bool newValue

The new property value that was set.

Remarks

This method is invoked right after the value of SendThumbFlexion is changed.

OnSendThumbFlexionChanging(bool)

Executes the logic for when SendThumbFlexion is changing.

Declaration
private void OnSendThumbFlexionChanging(bool value)
Parameters
Type Name Description
bool value

The new property value being set.

Remarks

This method is invoked right before the value of SendThumbFlexion is changed.

OnSendThumbFlexionChanging(bool, bool)

Executes the logic for when SendThumbFlexion is changing.

Declaration
private void OnSendThumbFlexionChanging(bool oldValue, bool newValue)
Parameters
Type Name Description
bool oldValue

The previous property value that is being replaced.

bool newValue

The new property value being set.

Remarks

This method is invoked right before the value of SendThumbFlexion is changed.

OnSendThumbRotationChanged(bool)

Executes the logic for when SendThumbRotation just changed.

Declaration
private void OnSendThumbRotationChanged(bool value)
Parameters
Type Name Description
bool value

The new property value that was set.

Remarks

This method is invoked right after the value of SendThumbRotation is changed.

OnSendThumbRotationChanged(bool, bool)

Executes the logic for when SendThumbRotation just changed.

Declaration
private void OnSendThumbRotationChanged(bool oldValue, bool newValue)
Parameters
Type Name Description
bool oldValue

The previous property value that was replaced.

bool newValue

The new property value that was set.

Remarks

This method is invoked right after the value of SendThumbRotation is changed.

OnSendThumbRotationChanging(bool)

Executes the logic for when SendThumbRotation is changing.

Declaration
private void OnSendThumbRotationChanging(bool value)
Parameters
Type Name Description
bool value

The new property value being set.

Remarks

This method is invoked right before the value of SendThumbRotation is changed.

OnSendThumbRotationChanging(bool, bool)

Executes the logic for when SendThumbRotation is changing.

Declaration
private void OnSendThumbRotationChanging(bool oldValue, bool newValue)
Parameters
Type Name Description
bool oldValue

The previous property value that is being replaced.

bool newValue

The new property value being set.

Remarks

This method is invoked right before the value of SendThumbRotation is changed.

OnSendWristFlexionExtensionChanged(bool)

Executes the logic for when SendWristFlexionExtension just changed.

Declaration
private void OnSendWristFlexionExtensionChanged(bool value)
Parameters
Type Name Description
bool value

The new property value that was set.

Remarks

This method is invoked right after the value of SendWristFlexionExtension is changed.

OnSendWristFlexionExtensionChanged(bool, bool)

Executes the logic for when SendWristFlexionExtension just changed.

Declaration
private void OnSendWristFlexionExtensionChanged(bool oldValue, bool newValue)
Parameters
Type Name Description
bool oldValue

The previous property value that was replaced.

bool newValue

The new property value that was set.

Remarks

This method is invoked right after the value of SendWristFlexionExtension is changed.

OnSendWristFlexionExtensionChanging(bool)

Executes the logic for when SendWristFlexionExtension is changing.

Declaration
private void OnSendWristFlexionExtensionChanging(bool value)
Parameters
Type Name Description
bool value

The new property value being set.

Remarks

This method is invoked right before the value of SendWristFlexionExtension is changed.

OnSendWristFlexionExtensionChanging(bool, bool)

Executes the logic for when SendWristFlexionExtension is changing.

Declaration
private void OnSendWristFlexionExtensionChanging(bool oldValue, bool newValue)
Parameters
Type Name Description
bool oldValue

The previous property value that is being replaced.

bool newValue

The new property value being set.

Remarks

This method is invoked right before the value of SendWristFlexionExtension is changed.

OnSendWristPronationSupinationChanged(bool)

Executes the logic for when SendWristPronationSupination just changed.

Declaration
private void OnSendWristPronationSupinationChanged(bool value)
Parameters
Type Name Description
bool value

The new property value that was set.

Remarks

This method is invoked right after the value of SendWristPronationSupination is changed.

OnSendWristPronationSupinationChanged(bool, bool)

Executes the logic for when SendWristPronationSupination just changed.

Declaration
private void OnSendWristPronationSupinationChanged(bool oldValue, bool newValue)
Parameters
Type Name Description
bool oldValue

The previous property value that was replaced.

bool newValue

The new property value that was set.

Remarks

This method is invoked right after the value of SendWristPronationSupination is changed.

OnSendWristPronationSupinationChanging(bool)

Executes the logic for when SendWristPronationSupination is changing.

Declaration
private void OnSendWristPronationSupinationChanging(bool value)
Parameters
Type Name Description
bool value

The new property value being set.

Remarks

This method is invoked right before the value of SendWristPronationSupination is changed.

OnSendWristPronationSupinationChanging(bool, bool)

Executes the logic for when SendWristPronationSupination is changing.

Declaration
private void OnSendWristPronationSupinationChanging(bool oldValue, bool newValue)
Parameters
Type Name Description
bool oldValue

The previous property value that is being replaced.

bool newValue

The new property value being set.

Remarks

This method is invoked right before the value of SendWristPronationSupination is changed.

OnSendWristUlnarRadialChanged(bool)

Executes the logic for when SendWristUlnarRadial just changed.

Declaration
private void OnSendWristUlnarRadialChanged(bool value)
Parameters
Type Name Description
bool value

The new property value that was set.

Remarks

This method is invoked right after the value of SendWristUlnarRadial is changed.

OnSendWristUlnarRadialChanged(bool, bool)

Executes the logic for when SendWristUlnarRadial just changed.

Declaration
private void OnSendWristUlnarRadialChanged(bool oldValue, bool newValue)
Parameters
Type Name Description
bool oldValue

The previous property value that was replaced.

bool newValue

The new property value that was set.

Remarks

This method is invoked right after the value of SendWristUlnarRadial is changed.

OnSendWristUlnarRadialChanging(bool)

Executes the logic for when SendWristUlnarRadial is changing.

Declaration
private void OnSendWristUlnarRadialChanging(bool value)
Parameters
Type Name Description
bool value

The new property value being set.

Remarks

This method is invoked right before the value of SendWristUlnarRadial is changed.

OnSendWristUlnarRadialChanging(bool, bool)

Executes the logic for when SendWristUlnarRadial is changing.

Declaration
private void OnSendWristUlnarRadialChanging(bool oldValue, bool newValue)
Parameters
Type Name Description
bool oldValue

The previous property value that is being replaced.

bool newValue

The new property value being set.

Remarks

This method is invoked right before the value of SendWristUlnarRadial is changed.

OnThumbFlexionChanged(double)

Executes the logic for when ThumbFlexion just changed.

Declaration
private void OnThumbFlexionChanged(double value)
Parameters
Type Name Description
double value

The new property value that was set.

Remarks

This method is invoked right after the value of ThumbFlexion is changed.

OnThumbFlexionChanged(double, double)

Executes the logic for when ThumbFlexion just changed.

Declaration
private void OnThumbFlexionChanged(double oldValue, double newValue)
Parameters
Type Name Description
double oldValue

The previous property value that was replaced.

double newValue

The new property value that was set.

Remarks

This method is invoked right after the value of ThumbFlexion is changed.

OnThumbFlexionChanging(double)

Executes the logic for when ThumbFlexion is changing.

Declaration
private void OnThumbFlexionChanging(double value)
Parameters
Type Name Description
double value

The new property value being set.

Remarks

This method is invoked right before the value of ThumbFlexion is changed.

OnThumbFlexionChanging(double, double)

Executes the logic for when ThumbFlexion is changing.

Declaration
private void OnThumbFlexionChanging(double oldValue, double newValue)
Parameters
Type Name Description
double oldValue

The previous property value that is being replaced.

double newValue

The new property value being set.

Remarks

This method is invoked right before the value of ThumbFlexion is changed.

OnThumbRotationChanged(double)

Executes the logic for when ThumbRotation just changed.

Declaration
private void OnThumbRotationChanged(double value)
Parameters
Type Name Description
double value

The new property value that was set.

Remarks

This method is invoked right after the value of ThumbRotation is changed.

OnThumbRotationChanged(double, double)

Executes the logic for when ThumbRotation just changed.

Declaration
private void OnThumbRotationChanged(double oldValue, double newValue)
Parameters
Type Name Description
double oldValue

The previous property value that was replaced.

double newValue

The new property value that was set.

Remarks

This method is invoked right after the value of ThumbRotation is changed.

OnThumbRotationChanging(double)

Executes the logic for when ThumbRotation is changing.

Declaration
private void OnThumbRotationChanging(double value)
Parameters
Type Name Description
double value

The new property value being set.

Remarks

This method is invoked right before the value of ThumbRotation is changed.

OnThumbRotationChanging(double, double)

Executes the logic for when ThumbRotation is changing.

Declaration
private void OnThumbRotationChanging(double oldValue, double newValue)
Parameters
Type Name Description
double oldValue

The previous property value that is being replaced.

double newValue

The new property value being set.

Remarks

This method is invoked right before the value of ThumbRotation is changed.

OnWristEnabledChanged(bool)

Executes the logic for when WristEnabled just changed.

Declaration
private void OnWristEnabledChanged(bool value)
Parameters
Type Name Description
bool value

The new property value that was set.

Remarks

This method is invoked right after the value of WristEnabled is changed.

OnWristEnabledChanged(bool, bool)

Executes the logic for when WristEnabled just changed.

Declaration
private void OnWristEnabledChanged(bool oldValue, bool newValue)
Parameters
Type Name Description
bool oldValue

The previous property value that was replaced.

bool newValue

The new property value that was set.

Remarks

This method is invoked right after the value of WristEnabled is changed.

OnWristEnabledChanging(bool)

Executes the logic for when WristEnabled is changing.

Declaration
private void OnWristEnabledChanging(bool value)
Parameters
Type Name Description
bool value

The new property value being set.

Remarks

This method is invoked right before the value of WristEnabled is changed.

OnWristEnabledChanging(bool, bool)

Executes the logic for when WristEnabled is changing.

Declaration
private void OnWristEnabledChanging(bool oldValue, bool newValue)
Parameters
Type Name Description
bool oldValue

The previous property value that is being replaced.

bool newValue

The new property value being set.

Remarks

This method is invoked right before the value of WristEnabled is changed.

OnWristFlexionExtensionChanged(double)

Executes the logic for when WristFlexionExtension just changed.

Declaration
private void OnWristFlexionExtensionChanged(double value)
Parameters
Type Name Description
double value

The new property value that was set.

Remarks

This method is invoked right after the value of WristFlexionExtension is changed.

OnWristFlexionExtensionChanged(double, double)

Executes the logic for when WristFlexionExtension just changed.

Declaration
private void OnWristFlexionExtensionChanged(double oldValue, double newValue)
Parameters
Type Name Description
double oldValue

The previous property value that was replaced.

double newValue

The new property value that was set.

Remarks

This method is invoked right after the value of WristFlexionExtension is changed.

OnWristFlexionExtensionChanging(double)

Executes the logic for when WristFlexionExtension is changing.

Declaration
private void OnWristFlexionExtensionChanging(double value)
Parameters
Type Name Description
double value

The new property value being set.

Remarks

This method is invoked right before the value of WristFlexionExtension is changed.

OnWristFlexionExtensionChanging(double, double)

Executes the logic for when WristFlexionExtension is changing.

Declaration
private void OnWristFlexionExtensionChanging(double oldValue, double newValue)
Parameters
Type Name Description
double oldValue

The previous property value that is being replaced.

double newValue

The new property value being set.

Remarks

This method is invoked right before the value of WristFlexionExtension is changed.

OnWristPronationSupinationChanged(double)

Executes the logic for when WristPronationSupination just changed.

Declaration
private void OnWristPronationSupinationChanged(double value)
Parameters
Type Name Description
double value

The new property value that was set.

Remarks

This method is invoked right after the value of WristPronationSupination is changed.

OnWristPronationSupinationChanged(double, double)

Executes the logic for when WristPronationSupination just changed.

Declaration
private void OnWristPronationSupinationChanged(double oldValue, double newValue)
Parameters
Type Name Description
double oldValue

The previous property value that was replaced.

double newValue

The new property value that was set.

Remarks

This method is invoked right after the value of WristPronationSupination is changed.

OnWristPronationSupinationChanging(double)

Executes the logic for when WristPronationSupination is changing.

Declaration
private void OnWristPronationSupinationChanging(double value)
Parameters
Type Name Description
double value

The new property value being set.

Remarks

This method is invoked right before the value of WristPronationSupination is changed.

OnWristPronationSupinationChanging(double, double)

Executes the logic for when WristPronationSupination is changing.

Declaration
private void OnWristPronationSupinationChanging(double oldValue, double newValue)
Parameters
Type Name Description
double oldValue

The previous property value that is being replaced.

double newValue

The new property value being set.

Remarks

This method is invoked right before the value of WristPronationSupination is changed.

OnWristUlnarRadialChanged(double)

Executes the logic for when WristUlnarRadial just changed.

Declaration
private void OnWristUlnarRadialChanged(double value)
Parameters
Type Name Description
double value

The new property value that was set.

Remarks

This method is invoked right after the value of WristUlnarRadial is changed.

OnWristUlnarRadialChanged(double, double)

Executes the logic for when WristUlnarRadial just changed.

Declaration
private void OnWristUlnarRadialChanged(double oldValue, double newValue)
Parameters
Type Name Description
double oldValue

The previous property value that was replaced.

double newValue

The new property value that was set.

Remarks

This method is invoked right after the value of WristUlnarRadial is changed.

OnWristUlnarRadialChanging(double)

Executes the logic for when WristUlnarRadial is changing.

Declaration
private void OnWristUlnarRadialChanging(double value)
Parameters
Type Name Description
double value

The new property value being set.

Remarks

This method is invoked right before the value of WristUlnarRadial is changed.

OnWristUlnarRadialChanging(double, double)

Executes the logic for when WristUlnarRadial is changing.

Declaration
private void OnWristUlnarRadialChanging(double oldValue, double newValue)
Parameters
Type Name Description
double oldValue

The previous property value that is being replaced.

double newValue

The new property value being set.

Remarks

This method is invoked right before the value of WristUlnarRadial is changed.

Reset()

Resets fingers and elbow to 0, wrists to 50, and HOC to 0.

Declaration
public void Reset()

Implements

INotifyPropertyChanged
INotifyPropertyChanging
ISubscriber
IPublisher
IBaseBlockProps
IJsonExportable
IDisposable
IAsyncDisposable

Search documentation

Start typing to search the documentation.