pbvs.run() Regd

268 views
Skip to first unread message

pnm...@tce.edu

unread,
Feb 6, 2016, 4:11:48 PM2/6/16
to Robotics & Machine Vision Toolboxes
Hi there,

I tried the pbvs code as in http://www.petercorke.com/RVC/chaps/15/code

when i executed
>>
pbvs.run();
 
I got the following error.

No appropriate method, property, or field 'h_camera3D' for class 'CentralCamera'.

Error in Camera/set.T (line 721)
                set(c.h_camera3D, 'Matrix', c.T);

Error in PBVS/step (line 153)
            vs.camera.T = vs.Tcam;

Error in VisualServo/run (line 112)
                status = vs.step();
Could anyone help in this regard. 

Regards,

Naga

Peter Corke

unread,
Feb 6, 2016, 5:08:24 PM2/6/16
to Robotics & Machine Vision Toolboxes
which version of RTB and MVTB, use the ver command.

pnm...@tce.edu

unread,
Feb 7, 2016, 11:19:36 PM2/7/16
to Robotics & Machine Vision Toolboxes
Hello,

I am using Robotics Toolbox for Matlab (release 9.10) and Machine Vision Toolbox for Matlab (release 3.4) and MATLAB Version: 8.5.0.197613 (R2015a)
MATLAB License Number: 161052
Operating System: Microsoft Windows 10 Home Single Language Version 10.0 (Build 10586)
Java Version: Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode

Thanks and Regards,

Naga


Peter Corke

unread,
Feb 8, 2016, 4:55:05 AM2/8/16
to Robotics & Machine Vision Toolboxes

Try changing that problematic line in Camera.m to


set(c.h_visualize, 'Matrix', c.T);



On Sunday, 7 February 2016 07:11:48 UTC+10, pnm...@tce.edu wrote:

pnm...@tce.edu

unread,
Feb 8, 2016, 10:37:32 AM2/8/16
to Robotics & Machine Vision Toolboxes
Hi,Thanks.. got it right..Looks interesting...

doria...@gmail.com

unread,
Aug 4, 2016, 7:29:18 PM8/4/16
to Robotics & Machine Vision Toolboxes
Thanks Peter. Also worked for me when going through the IBVS tutorial. Same version.
Reply all
Reply to author
Forward
0 new messages