I understand that you are working with Robotics System Toolbox and are importing the Franka Emika Panda robot model using the "loadrobot" function. You want to understand whether the omission of transformation matrix for the end effector flange to the hand is an intended behaviour or not.
- The function “loadrobot" returns a "rigidBodyTree" object. The omission of the transformation matrix is an expected behaviour of the function.
- You can manually add the transformation matrix to the "rigidBodyTree" model by using the "setFixedTransform" method.
- Create a "rigidBody" object with a joint having the transformation matrix property as is needed and replace the end effector link of the "rigidBodyTree" object that has been loaded.
Please refer to the following code snippet:
tform_mat = [0.707 0.707 0 0;
body1 = rigidBody('body1');
jnt1 = rigidBodyJoint('jnt1','revolute');
setFixedTransform(jnt1,tform_mat);
The above code will create a new "rigidBody" object that will have the joint with the transformation matrix as specified in the user manual. You can add this to the "rigidBodyTree" object.
For further understanding on using "rigidBodyTree" objects and manipulating them, you can refer to the following MATLAB Documentation:
- "rigidBodyTree"- https://www.mathworks.com/help/releases/R2022a/robotics/ref/rigidbodytree.html
- “setFixedTransform” function - https://www.mathworks.com/help/releases/R2022a/robotics/ref/rigidbodyjoint.setfixedtransform.html
I hope you find the above explanation and suggestions useful!