Robotics System Toolbox で得た同次変換行列を、rigid3dオブジェクトに変換するにはどうすればよいですか?
Mostrar comentarios más antiguos
Robotics System Toolboxの getTransform 関数から取得した同次変換行列を使用して、pctransform 関数を実行し、ロボットアームの手先の座標系で表現された点群座標をベースフレームでの座標に変換しようとしました。(R2022aを使用。)
以下のように同次変換行列をrigid3dオブジェクトに変換し、 pctransform 関数に入力しましたが、変換後の座標が期待した通りになりません。
transform = getTransform( robot, confg, 'sourcebody', 'targetbody');
rot=tform2rotm(transform);
trvec=tform2trvec(transform);
tform=rigid3d(rot,trvec);
pcOut=pctransform(pcIn,tform);
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Robotics en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!