Skip to content

Commit 4f7d6fb

Browse files
committed
Quick bug fix
1 parent 7e39c58 commit 4f7d6fb

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

matlab/CameraCalibrationExp.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,11 +174,11 @@
174174
M = triangulateJYB(P1,[c1x+na*randn c1y+na*randn],P2,[c2x+na*randn c2y+na*randn]);
175175
plot3(M(1),M(2),M(3),'ro');
176176

177-
fprintf('P1 = np.array([[%f,%f,%f,%f],[%f,%f,%f,%f],{%f,%f,%f,%f]])\n', ...
177+
fprintf('P1 = np.array([[%f,%f,%f,%f],[%f,%f,%f,%f],[%f,%f,%f,%f]])\n', ...
178178
P1(1,1),P1(1,2),P1(1,3),P1(1,4),...
179179
P1(2,1),P1(2,2),P1(2,3),P1(2,4),...
180180
P1(3,1),P1(3,2),P1(3,3),P1(3,4));
181-
fprintf('P2 = np.array([[%f,%f,%f,%f],[%f,%f,%f,%f],{%f,%f,%f,%f]])\n', ...
181+
fprintf('P2 = np.array([[%f,%f,%f,%f],[%f,%f,%f,%f],[%f,%f,%f,%f]])\n', ...
182182
P2(1,1),P2(1,2),P2(1,3),P2(1,4),...
183183
P2(2,1),P2(2,2),P2(2,3),P2(2,4),...
184184
P2(3,1),P2(3,2),P2(3,3),P2(3,4));

matlab/get3Dlocation.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,11 @@
114114

115115
end
116116

117-
fprintf('P1 = np.array([[%f,%f,%f,%f],[%f,%f,%f,%f],{%f,%f,%f,%f]])\n', ...
117+
fprintf('P1 = np.array([[%f,%f,%f,%f],[%f,%f,%f,%f],[%f,%f,%f,%f]])\n', ...
118118
P1(1,1),P1(1,2),P1(1,3),P1(1,4),...
119119
P1(2,1),P1(2,2),P1(2,3),P1(2,4),...
120120
P1(3,1),P1(3,2),P1(3,3),P1(3,4));
121-
fprintf('P2 = np.array([[%f,%f,%f,%f],[%f,%f,%f,%f],{%f,%f,%f,%f]])\n', ...
121+
fprintf('P2 = np.array([[%f,%f,%f,%f],[%f,%f,%f,%f],[%f,%f,%f,%f]])\n', ...
122122
P2(1,1),P2(1,2),P2(1,3),P2(1,4),...
123123
P2(2,1),P2(2,2),P2(2,3),P2(2,4),...
124124
P2(3,1),P2(3,2),P2(3,3),P2(3,4));

0 commit comments

Comments
 (0)