不是直接根据姿态里面的Tx,Ty,Tz平移的(姿态不能直接平移),需要转换到3D矩阵然后平移
- create_pose (0.00991352,-0.00290352,0.289877,358.414,32.4821,1.07838, 'Rp+T', 'gba', 'point', PoseCalibRot)
- set_origin_pose (PoseCalibRot, -0.04, -0.03, 0.00075, Pose)
复制代码 等同于
- create_pose (0.00991352,-0.00290352,0.289877,358.414,32.4821,1.07838, 'Rp+T', 'gba', 'point', PoseCalibRot)
- pose_to_hom_mat3d (PoseCalibRot, HomMat3DIn)
- hom_mat3d_translate_local (HomMat3DIn, -0.04, -0.03, 0.00075, HomMat3DNewOrigin)
- hom_mat3d_to_pose (HomMat3DNewOrigin, PoseNewOrigin)
复制代码 |