Table of Contents

Class ScaraKinematics

Namespace
DuetAPI.ObjectModel
Assembly
DuetAPI.dll

Kinematics class for SCARA kinematics

public class ScaraKinematics : ZLeadscrewKinematics, INotifyPropertyChanging, IDynamicModelObject, IModelObject, ICloneable, INotifyPropertyChanged
Inheritance
ScaraKinematics
Implements
Inherited Members

Constructors

ScaraKinematics()

public ScaraKinematics()

Fields

Crosstalk

Proximal to distal, proximal to Z and distal to Z crosstalk

public ObservableCollection<float> Crosstalk

Field Value

ObservableCollection<float>

PsiLimits

Psi limits (in degrees)

public ObservableCollection<float> PsiLimits

Field Value

ObservableCollection<float>

ThetaLimits

Theta limits (in degrees)

public ObservableCollection<float> ThetaLimits

Field Value

ObservableCollection<float>

Properties

DistalLength

Distal arm length (in mm)

public float DistalLength { get; set; }

Property Value

float

MinRadius

Requested minimum radius (in mm)

public float MinRadius { get; set; }

Property Value

float

ProximalLength

Proximal arm length (in mm)

public float ProximalLength { get; set; }

Property Value

float

XOffset

X offset (in mm)

public float XOffset { get; set; }

Property Value

float

YOffset

Y offset (in mm)

public float YOffset { get; set; }

Property Value

float

Methods

Assign(IDynamicModelObject)

Assign the properties from another instance. This is required to update model properties which do not have a setter

public override IDynamicModelObject? Assign(IDynamicModelObject from)

Parameters

from IDynamicModelObject

Other instance

Returns

IDynamicModelObject

Updated instance

Clone()

Clone this instance

public override object Clone()

Returns

object

Cloned instance

Remarks

This method is auto-generated

GeneratedUpdateFromJson(JsonElement, bool)

Update this instance from a given JSON element

public override IDynamicModelObject? GeneratedUpdateFromJson(JsonElement jsonElement, bool ignoreSbcProperties)

Parameters

jsonElement JsonElement

Element to update this intance from

ignoreSbcProperties bool

Whether SBC properties are ignored

Returns

IDynamicModelObject

Updated instance

Remarks

This method is auto-generated

Exceptions

JsonException

Failed to deserialize data

GeneratedUpdateFromJsonReader(ref Utf8JsonReader, bool)

Update this instance from a given JSON element

public override IDynamicModelObject? GeneratedUpdateFromJsonReader(ref Utf8JsonReader reader, bool ignoreSbcProperties)

Parameters

reader Utf8JsonReader

Reader to update this intance from

ignoreSbcProperties bool

Whether SBC properties are ignored

Returns

IDynamicModelObject

Updated instance

Remarks

This method is auto-generated

Exceptions

JsonException

Failed to deserialize data