Class Cartesian
Cartesian variable. Represents a robot cartesian position/point.
Inherited Members
Namespace: UrlLib
Assembly: UrlLib.dll
Syntax
public class Cartesian : Pose
Constructors
Cartesian(String, Double, Double, Double, Double, Double, Double, Int32, Scope, StoreType)
Constructor for a variable of cartesian type
Declaration
[JsonConstructor]
public Cartesian(string name, double x, double y, double z, double r, double p, double w, int axis = 6, Scope scope = Scope.Local, StoreType storeType = StoreType.NonPersistent)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Cartesian pose name |
System.Double | x | Cartesian axis X |
System.Double | y | Cartesian axis Y |
System.Double | z | Cartesian axis Z |
System.Double | r | Cartesian axis R |
System.Double | p | Cartesian axis P |
System.Double | w | Cartesian axis W |
System.Int32 | axis | Number of axles |
Scope | scope | Scope type |
StoreType | storeType |
Fields
axis
Number of axles
Declaration
protected int axis
Field Value
Type | Description |
---|---|
System.Int32 |
p
Cartesian axis P
Declaration
protected double p
Field Value
Type | Description |
---|---|
System.Double |
r
Cartesian axis R
Declaration
protected double r
Field Value
Type | Description |
---|---|
System.Double |
w
Cartesian axis W
Declaration
protected double w
Field Value
Type | Description |
---|---|
System.Double |
x
Cartesian axis X
Declaration
protected double x
Field Value
Type | Description |
---|---|
System.Double |
y
Cartesian axis Y
Declaration
protected double y
Field Value
Type | Description |
---|---|
System.Double |
z
Cartesian axis Z
Declaration
protected double z
Field Value
Type | Description |
---|---|
System.Double |
Properties
Axis
Number of axles
Declaration
[JsonInclude]
public int Axis { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
InitValue
Get init value (string)
Declaration
public override string InitValue { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
P
Cartesian axis P
Declaration
[JsonInclude]
public double P { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
R
Cartesian axis R
Declaration
[JsonInclude]
public double R { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
W
Cartesian axis W
Declaration
[JsonInclude]
public double W { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
X
Cartesian axis X
Declaration
[JsonInclude]
public double X { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Y
Cartesian axis Y
Declaration
[JsonInclude]
public double Y { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Z
Cartesian axis Z
Declaration
[JsonInclude]
public double Z { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
Methods
SetAxis(Int32)
Set axis number
Declaration
protected virtual void SetAxis(int value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | value |