From 4a5ec701f6ec234e357834a1d2be02a9361d76f2 Mon Sep 17 00:00:00 2001 From: Matias Mattamala Date: Tue, 12 Apr 2016 12:20:43 -0300 Subject: [PATCH] Update Camera.m I found some issues while trying to update the 3D drawing of the Camera Object. Apparently this was caused by the deprecated variable 'h_camera3D' which seemed to be replaced by 'h_visualize' in the last versions of the toolbox. Now I can change the camera pose T and the drawing is updated correctly. Thanks for the toolbox, it's amazing :) --- @Camera/Camera.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/@Camera/Camera.m b/@Camera/Camera.m index 457fc5a..e7e303a 100644 --- a/@Camera/Camera.m +++ b/@Camera/Camera.m @@ -718,7 +718,7 @@ function cameramove_callback(robot, event, camera) c.T = Tc; end if ~isempty(c.h_visualize) && ishandle(c.h_visualize) - set(c.h_camera3D, 'Matrix', c.T); + set(c.h_visualize, 'Matrix', c.T); end end