need solution for binaryOccupanyMap

4 ビュー (過去 30 日間)
Nouman Bahsir
Nouman Bahsir 2023 年 2 月 20 日
回答済み: Cameron Stabile 2023 年 3 月 6 日
hello,
While running the binaryOcuupancyMap for robotic work. this error is pop up (as follows):-
Undefined function 'ExampleHelperRobotSimulator' for input arguments of type 'binaryOccupancyMap'
I don't know why is this error is shown up, and due to this my code doesn't able to run. kindly help in this matters.
Regards,

回答 (1 件)

Cameron Stabile
Cameron Stabile 2023 年 3 月 6 日
Hi Nouman,
This error message indicates that your program is trying to call the function ExampleHelperRobotSimulator, which is a helper that ships in several ROS Toolbox examples, e.g. FeedbackControlOfAROSenabledRobotExample and GenerateCodetoManuallyDeployaROSNodefromSimulinkExample.
What may have happened is that you are using some code from those examples, but copied it into some other directory, or lost the original file. To determine the source of the issue, please try running the following in your MATLAB command console:
>> openExample('ros/FeedbackControlOfAROSenabledRobotExample')
>> FeedbackControlOfAROSenabledRobotExample
If that example is able to run then you should have everything you need going forward, otherwise you might be missing a ROS or Navigation Toolbox license. Please verify that you have both using the ver command.
Hope this helps,
Cameron

カテゴリ

Help Center および File ExchangeNetwork Connection and Exploration についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by