Calculating the matrix from forward vector

Calculating the matrix from forward vector

p_krola
Enthusiast Enthusiast
295 Views
1 Reply
Message 1 of 2

Calculating the matrix from forward vector

p_krola
Enthusiast
Enthusiast

Prepares the postprocessor to control the robot. I need to compute a matrix with forward vector to compute euler angles. How can I do this?

 

 

i,j,k from onLinear5D and onRapid5D

var forward = new Vector();
forward.x = i;
forward.y = j;
forward.z = k;

How can I calculate right and up?

Matrix(right, up, forward) Matrix using 3 vectors

 

 

0 Likes
296 Views
1 Reply
Reply (1)
Message 2 of 2

andrea.amilo
Community Manager
Community Manager

Hello @p_krola,

 

which robot are you developing the post for?

Please note that we have a few robotics postprocessors available in our post library.

You can find postprocessors for ABB, Fanuc, Kuka KRL, Universal Robot and we are working on others.

You could try to have a look to those postprocessor and see their matrix calculation management.

It might help you.

Please let me know.



Andrea Amilo

Senior Technical Consultant

Autodesk Knowledge Network | Fusion 360 Webinars | Autodesk Make
0 Likes