Skip to content

Commit

Permalink
Update pose_sync.m
Browse files Browse the repository at this point in the history
fix generators index.
  • Loading branch information
MaaniGhaffari committed Mar 25, 2023
1 parent 53d1c47 commit 98817aa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code-examples/MATLAB/matrix_groups/pose_sync.m
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
G{1} = [skew(e1), zeros(3,1); zeros(1,4)];
G{2} = [skew(e2), zeros(3,1); zeros(1,4)];
G{3} = [skew(e3), zeros(3,1); zeros(1,4)];
G{4} = zeros(4); G{1}(1,4) = 1;
G{5} = zeros(4); G{2}(2,4) = 1;
G{6} = zeros(4); G{3}(3,4) = 1;
G{4} = zeros(4); G{4}(1,4) = 1;
G{5} = zeros(4); G{5}(2,4) = 1;
G{6} = zeros(4); G{6}(3,4) = 1;

% a sequence of relative rigid body transformation
U = cell(5,1);
Expand Down

0 comments on commit 98817aa

Please sign in to comment.