how can i use posegraph in 3d

조회 수: 2 (최근 30일)
Hassan Bosha
Hassan Bosha 2020년 4월 5일
i'm drawing 4 matrices each on is relative to another
i want to use pose graph 3d to add relative function to them on the graph
A = eye(4);
UtoA = [ 0.866 -0.5 0 11 ; 0.5 0.866 0 -1 ; 0 0 1 9 ; 0 0 0 1];
BtoA = [ 1 0 0 0 ; 0 0.866 -0.5 10 ; 0 0.5 0.866 -20 ; 0 0 0 1];
CtoU = [ 0.866 -0.5 0 -3 ; 0.433 0.75 -0.5 -3; 0.25 0.433 0.866 3 ; 0 0 0 1];
trplot(A,'color','r','axis',[-7 13 -6 13 -23 11])
hold on
trplot(UtoA,'color','g','axis',[-7 13 -6 13 -23 11])
trplot(BtoA,'color','b','axis',[-7 13 -6 13 -23 11])
trplot(CtoU,'color','y','axis',[-7 13 -6 13 -23 11])

답변 (0개)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by