ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3D Cartesian Coordinate Rotation

3D Cartesian Coordinate Rotation (Direction) VI, has a input  "rotation matrix type", I can not understand the Direction Angles. when I use the defaut, it is wrong.

 

 

 
 
xin
Certified LabVIEW Architect (CLA)
Certified TestStand Architect (CTA)
0 Kudos
Message 1 of 4
(2,439 Views)

 

  • If you say something is wrong, tell us why and what result you expect instead.
  • rotating a [0,0,0] point with give you a [0,0,0] result, no matter how you rotate.
0 Kudos
Message 2 of 4
(2,395 Views)

The Inputs of the "3D Cartesian Coordinate Rotation (Direction)" VI are explained in the documentation, e.g. here: https://zone.ni.com/reference/en-XX/help/371361R-01/gmath/3d_cartesian_coord_rotation_direction/

The three arrays to the top left are your points. Enter some coordinates other than [0, 0, 0] to see the effect of the rotation.

 

Also, please use a smaller font.

0 Kudos
Message 3 of 4
(2,385 Views)

Your matrix is not a matrix of directional cosines because the determinant of it is not unity. 

 

(You only have three degrees of freedom, so you cannot chose 9 random values. they are interdependent. How did you generate the matrix?)

0 Kudos
Message 4 of 4
(2,353 Views)