Update TransInv.m for Symbolic T Matrices
Changing R' to transpose(R) allows you to use it on symbolic matrices by enforcing a non-conjugate transpose.
This commit is contained in:
parent
df6dace3b6
commit
e432c835a4
|
|
@ -18,5 +18,5 @@ function invT = TransInv(T)
|
||||||
% 0 0 0 1
|
% 0 0 0 1
|
||||||
|
|
||||||
[R, p] = TransToRp(T);
|
[R, p] = TransToRp(T);
|
||||||
invT = [R', -R' * p; 0, 0, 0, 1];
|
invT = [transpose(R), -transpose(R) * p; 0, 0, 0, 1];
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue