Benutzer-Werkzeuge

Webseiten-Werkzeuge


modellingcomponents:elements:kinematics

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
modellingcomponents:elements:kinematics [2021/04/28 17:26] – [Attributes] olivermodellingcomponents:elements:kinematics [2022/07/18 23:18] (aktuell) – [Created parameters] oliver
Zeile 108: Zeile 108:
 ^ <name>Position | Vector3d | Origin of the coordinate system |  ^ <name>Position | Vector3d | Origin of the coordinate system | 
  
 +If calibration is used the following parameters are created:
  
 +====Generated parameters====
 +^ Name ^ Type ^ Description ^ 
 +^ <name>Rotation | Matrix3d | Representation of the three orthogonal orientation axes of the determined local coordinate system (columns of the matrix) from the calibration trial.| 
 +^ <name>Origin| Vector3d | Origin of the coordinate system of the calibration trial | 
  
-======GlobalCoordinateSystem====== +Simple example without usage of calibration:
-This element is used to define a cartesian coordinate system based on a given coordinate system in local coordinates of a given reference coordinate system.+
  
-Not yet implemented!+<code xml> 
 +<LocalCoordinateSystem name="TCPA" 
 +                    referenceCoordinateSystem="TCP" 
 +                    coordinateSystem="TCPDH1" 
 +                    includes="kirkdefault"/>  
 +</code>
  
-==== Attributes ====+the above code snipset defines a coordinate system by tranforming the given coordinate system "TCPDH1" into the reference coordinate system "TCP". The result coordinate system is then given in coordinates of the reference coordinate system.
  
-^ Attribute ^ Description ^ Required ^ 
-^ name | Name of the element | Yes |  
-^ referenceCoordinateSystem | Defines the the reference coordinate system by its name. | Yes | 
-^ localCoordinateSystem | Defines a local coordinate system which is based on the given reference coordinate system. This is is transformed into the global system.| Yes | 
  
-====Generated trajectories ==== + 
-^ Name ^ Type ^ Description ^  +======GlobalCoordinateSystem====== 
-^ <name> | Matrix3d | Representation of the three orthogonal orientation axes of the determined local coordinate system (columns of the matrix) |  +This element is used to define a cartesian coordinate system based on a given coordinate system in local coordinates of a given reference coordinate system.
-^ <name>Position | Vector3d | Origin of the coordinate system |  +
-======ForwardKinematicDH====== +
-This element defines a cartesian coordinate system based on a parent coordinate system and Denavit-Hartenberg parameters.+
  
 ==== Attributes ==== ==== Attributes ====
Zeile 134: Zeile 136:
 ^ name | Name of the element | Yes |  ^ name | Name of the element | Yes | 
 ^ referenceCoordinateSystem | Defines the the reference coordinate system by its name. | Yes | ^ referenceCoordinateSystem | Defines the the reference coordinate system by its name. | Yes |
-AlphaDenavit-Hartenberg parameter | Yes | +localCoordinateSystem Defines a local coordinate system which is based on the given reference coordinate system. This is is transformed into the global system.| Yes |
-^ Theta| Denavit-Hartenberg parameter | Yes | +
-^ D | Denavit-Hartenberg parameter | Yes | +
-^ R | Denavit-Hartenberg parameter | Yes |+
  
 ====Generated trajectories ==== ====Generated trajectories ====
Zeile 144: Zeile 143:
 ^ <name>Position | Vector3d | Origin of the coordinate system |  ^ <name>Position | Vector3d | Origin of the coordinate system | 
  
-**Example** 
  
-<code xml> 
-<ForwardKinematicDH name="BaseUR" 
-                    referenceCoordinateSystem="GLOBE" 
-                    Alpha="0.5" 
-                    Theta="Angle0" 
-                    D="0.145" 
-                    R="0.234"/>  
-</code> 
  
-An alternative to use this element is to use the corresponding function: 
  
-<code xml> 
-<CoordinateSystem name="BaseUR" 
-                  Pose="dhm(Angle0, DH_alpha0, DH_d0, DH_r0)"/>  
-</code> 
-======ForwardKinematicEulerCardan====== 
  
-==== Attributes ==== 
- 
-^ Attribute ^ Description ^ Required ^ 
-^ name | Name of the element | Yes |  
-^ referenceCoordinateSystem | Defines the the reference coordinate system by its name. | Yes | 
-^ EulerCardanAngles| Formula that defines a 3-tuple e.g. vec(1.0,1.0,1.0) with a sequence of three angles | Yes | 
-^ rotationOrder | rotation order | No | 
-^ Position | Origin of result coordinate system | Yes | 
  
  
Zeile 265: Zeile 241:
 ^ coordinateSystem | | Name of the coordinate system element which is used in two cases: 1. If the point is defined in local coordinates with the attribut "localPoint" it defines the corresponding coordinate system. 2. If calibration is used, than for static trial which is defined by switches given with the attributes calibrateIncludes/calibrateExcludes the point is transformed in local coordinates of the coordinate system which is given with this element. For all other trials the local coordinates are back transformed to the global coordinates using the current value of the coordinate system defined by this attribute. | No ^ ^ coordinateSystem | | Name of the coordinate system element which is used in two cases: 1. If the point is defined in local coordinates with the attribut "localPoint" it defines the corresponding coordinate system. 2. If calibration is used, than for static trial which is defined by switches given with the attributes calibrateIncludes/calibrateExcludes the point is transformed in local coordinates of the coordinate system which is given with this element. For all other trials the local coordinates are back transformed to the global coordinates using the current value of the coordinate system defined by this attribute. | No ^
  
-**Note:** The Parameter <name>Local is created, if calibration is used. It caontains the mean vector of the calibration trial in the coordinates of the given coordinate system. +**Note:** The Parameter <name>Local is created, if calibration is used. It contains the mean vector of the calibration trial in the coordinates of the given coordinate system. 
  
 **Examples** **Examples**
Zeile 271: Zeile 247:
 <code xml> <code xml>
     <Vector name="A"     <Vector name="A"
-     coordinateSystem="Thorax" +            coordinateSystem="Thorax" 
-     calibrateIncludes="static">B+C</Vector>+            calibrateIncludes="static">B+C</Vector>
 </code> </code>
  
Zeile 396: Zeile 372:
 </code> </code>
  
-In the case the two timeseries (TCPUR5e and TCPP) are not perfectly sychronized, especially a delay is between them the following expamples implements the usage of phases seperately defined for each timeeries. The phases are used only if in a trial the cound of phases for each of the two timeseries contains the same count.+In the case the two timeseries (TCPUR5e and TCPP) are not perfectly sychronized, especially a delay is between them the following expamples implements the usage of phases seperately defined for each timeeries. The phases are used onlyif in a trial the count of phases for each of the two timeseries is equal.
  
 <code xml> <code xml>
Zeile 424: Zeile 400:
 ^ <name>Orientation | Matrix3d | Orientation of the coordinatesystem the points of pointset 2 are given in. The orientation is given in coordinates the points of the first pointset are given in. ^ ^ <name>Orientation | Matrix3d | Orientation of the coordinatesystem the points of pointset 2 are given in. The orientation is given in coordinates the points of the first pointset are given in. ^
 ^ <name>Origin | Vector3d | Origin of the coordinatesystem, the points of pointset 2 are given in. The origin is given in coordinates the points of the first pointset are given in. ^ ^ <name>Origin | Vector3d | Origin of the coordinatesystem, the points of pointset 2 are given in. The origin is given in coordinates the points of the first pointset are given in. ^
 +
 +These parameters are created for non calibration files to make them availble in furher formula, e.g.:
 +
 +<code xml>
 +<CoordinateSystem name="Mediapipe2ViconFit"
 +                  Position="Mediapipe2ViconOrigin*1.0"
 +                  Rotation="Mediapipe2ViconOrientation*1.0"
 +                  excludes="static_calibrate,locator,dynamic_calibrate,calibrate_mediapipe"/>
 +</code>
modellingcomponents/elements/kinematics.1619623617.txt.gz · Zuletzt geändert: 2021/04/28 17:26 von oliver

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki