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
PsiLimits
Psi limits (in degrees)
public ObservableCollection<float> PsiLimits
Field Value
ThetaLimits
Theta limits (in degrees)
public ObservableCollection<float> ThetaLimits
Field Value
Properties
DistalLength
Distal arm length (in mm)
public float DistalLength { get; set; }
Property Value
MinRadius
Requested minimum radius (in mm)
public float MinRadius { get; set; }
Property Value
ProximalLength
Proximal arm length (in mm)
public float ProximalLength { get; set; }
Property Value
XOffset
X offset (in mm)
public float XOffset { get; set; }
Property Value
YOffset
Y offset (in mm)
public float YOffset { get; set; }
Property Value
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
fromIDynamicModelObjectOther 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
jsonElementJsonElementElement to update this intance from
ignoreSbcPropertiesboolWhether 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
readerUtf8JsonReaderReader to update this intance from
ignoreSbcPropertiesboolWhether SBC properties are ignored
Returns
- IDynamicModelObject
Updated instance
Remarks
This method is auto-generated
Exceptions
- JsonException
Failed to deserialize data