Get transform between body frames
Robotics System Toolbox / Manipulator Algorithms
The Get Transform block returns the homogeneous transformation between
body frames on the Rigid body tree robot model. Specify a
RigidBodyTree object for the robot model, and select a source and target
body in the block.
The block uses Config, the robot configuration (joint positions) input, to calculate the transformation from the source body to the target body. This transformation is used to convert coordinates from the source to the target body. To convert to base coordinates, use the base body name as the Target body parameter.
Config— Robot configuration
Transform— Homogeneous transform
Homogeneous transform, returned as a 4-by-4 matrix.
Rigid body tree— Robot model
Target body— Target body name
Target body name, specified as a body name from the robot model specified in Rigid body tree. To access body names from the robot model, click Select body. The target frame is the coordinate system you want to transform points into.
Source body— Source body name
Source body name, specified as a body name from the robot model specified in Rigid body tree.To access body names from the robot model, click Select body. The source frame is the coordinate system you want points transformed from.