royyannick / matlab-toolboxes-robotics-vision

Automatically exported from code.google.com/p/matlab-toolboxes-robotics-vision
0 stars 0 forks source link

Error while using options in constructing objects #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a RangeBearingSenors:
2. sensor = RangeBearingSensor(veh, Map(10), V, 'range',[0.1 20],'angle',[-135 
135]);
3. Seems like superclass Sensor cannot handle options from class 
RangeBearingSensor

What is the expected output? What do you see instead?
A range bearing sensor object with given range and angle. Instead, i get the 
following error: 

Error using tb_optparse (line 211)
unknown options: range

Error in Sensor (line 71)
            opt = tb_optparse(opt, varargin);

Error in RangeBearingSensor (line 90)
            s = s@Sensor(robot, map, varargin{:});

Error in Localization (line 40)
sensor = RangeBearingSensor(veh, Map(10), V,
'range',[0.1 20],'angle',[-135 135]);

What version of the product are you using? On what operating system?
--------------------------------------------------------------------------------
-----------------------
MATLAB Version: 7.14.0.739 (R2012a)
MATLAB License Number: 158557
Operating System: Microsoft Windows 7 Version 6.1 (Build 7601: Service Pack 1)
Java Version: Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot(TM) 
64-Bit Server VM mixed mode
--------------------------------------------------------------------------------
-----------------------
MATLAB                                                Version 7.14       
(R2012a)                     
Simulink                                              Version 7.9        
(R2012a)                     
Bioinformatics Toolbox                                Version 4.1        
(R2012a)                     
Control System Toolbox                                Version 9.3        
(R2012a)                     
Curve Fitting Toolbox                                 Version 3.2.1      
(R2012a)                     
Data Acquisition Toolbox                              Version 3.1        
(R2012a)                     
Fuzzy Logic Toolbox                                   Version 2.2.15     
(R2012a)                     
Global Optimization Toolbox                           Version 3.2.1      
(R2012a)                     
Image Processing Toolbox                              Version 8.0        
(R2012a)                     
MATLAB Compiler                                       Version 4.17       
(R2012a)                     
MATLAB Report Generator                               Version 3.12       
(R2012a)                     
Mapping Toolbox                                       Version 3.5        
(R2012a)                     
Model Predictive Control Toolbox                      Version 4.1        
(R2012a)                     
Neural Network Toolbox                                Version 7.0.3      
(R2012a)                     
Optimization Toolbox                                  Version 6.2        
(R2012a)                     
Parallel Computing Toolbox                            Version 6.0        
(R2012a)                     
Partial Differential Equation Toolbox                 Version 1.0.20     
(R2012a)                     
Robotics Toolbox                                      Version 9.8.0             
       License unknown
Robust Control Toolbox                                Version 4.1        
(R2012a)                     
Signal Processing Toolbox                             Version 6.17       
(R2012a)                     
SimBiology                                            Version 4.1        
(R2012a)      License 424347 
SimEvents                                             Version 4.1        
(R2012a)                     
Simulink 3D Animation                                 Version 6.1        
(R2012a)                     
Simulink Control Design                               Version 3.5        
(R2012a)                     
Simulink Design Optimization                          Version 2.1        
(R2012a)                     
Simulink Report Generator                             Version 3.12       
(R2012a)                     
Statistics Toolbox                                    Version 8.0        
(R2012a)                     
Symbolic Math Toolbox                                 Version 5.8        
(R2012a)                     
System Identification Toolbox                         Version 8.0        
(R2012a)          

Please provide any additional information below.

Original issue reported on code.google.com by basvr...@gmail.com on 30 Jul 2013 at 10:19

Attachments: