functionto_vector
Map rotation object into vector
Extends from Modelica.Icons.Function (Icon for functions).
Information
Syntax
vec = Frames.to_vector(R);
Description
This function returns a vector vec which contains elements of a transformation matrix T computed from an orientation object R.
See also
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Orientation | R | Orientation object to rotate frame 1 into frame 2 |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real[9] | vec | Elements of R in one vector |