Has anyone managed to successfully run the Simulation Map Generator app in the Mobile Robotics Training Toolbox? I loaded a png file (tried a jpg, that didn't work either), and the track size. When I select "Map Options/Line Follower", I get the error messages listed below in the main Matlab window. I get the same messages when I switch from Automatic to Manual Threshold mode.
Error using rgb2gray>parse_inputs (line 80) MAP must be a m x 3 array. Error in rgb2gray (line 52) isRGB = parse_inputs(X); Error in simMapGenerator/thresholdMap (line 47) imgGray = rgb2gray(imgRaw); Error in simMapGenerator/thresholdOptionsSelect (line 394) app.thresholdMap; Error using matlab.ui.control.internal.model.AbstractMutualExclusiveComponent/set.Value (line 166) Error while evaluating ButtonGroup SelectionChangedFcn.
Best Answer