Hi all, I have been working with the toolbox "ADAS", and is currently trying the documentation of the same. The task involves working with determination of lanes and obstacles on roads.
While implementing the same, i am getting the following error:
Trial>> file1Undefined function or variable 'validateBoundaryFcn'.Error in vision.internal.ransac.msac (line 73) isValidModel = funcs.checkFunc(modelParams, varargin{:});Error in fitPolynomialRANSAC (line 102) vision.internal.ransac.msac(xyPoints, ransacParams, ransacFuncs);Error in findParabolicLaneBoundaries (line 135) [~, inlierIdx] = fitPolynomialRANSAC(xyBoundaryPoints, N, maxDistance,...Error in file1 (line 65)[boundaries, boundaryPoints] = findParabolicLaneBoundaries(xyBoundaryPoints,boundaryWidth,'MaxNumBoundaries', maxLanes,'validateBoundaryFcn', @validateBoundaryFcn);
This error is occurring when i am using the following function/command:
[boundaries, boundaryPoints] = findParabolicLaneBoundaries(xyBoundaryPoints,boundaryWidth,'MaxNumBoundaries', maxLanes, 'validateBoundaryFcn', @validateBoundaryFcn);
I have tried the suggestions from the Mathwork on how to fix this issue and have re-set the path as per the mentioned instructions.
Kindly help me in this regards. Thanks
Best Answer