ROS Toolbox issue after R2020b Update 5: Unable to resolve the name ros.intern​al.utiliti​es.getMess​ageTypesWi​thCppKeywo​rd.

4 ビュー (過去 30 日間)
Hi,
scripts running fine in R2020b Update 2 do not more run after R2020b Update 5.
E.g.
>> rosinit
The value of the ROS_MASTER_URI environment variable, http://localhost:11311, will be used to connect to the ROS master.
The value of the ROS_IP environment variable, 192.168.213.1, will be used to set the advertised address for the ROS node.
Initializing global node /matlab_global_node_08205 with NodeURI http://192.168.213.1:44967/
>> rostopic list
/rosout
/rosout_agg
/tf
>> laser = rossubscriber('/rosout');
Unable to resolve the name ros.internal.utilities.getMessageTypesWithCppKeyword.
Does anybody know the root cause or help?
Best Regards
  2 件のコメント
Jagadeesh Konakalla
Jagadeesh Konakalla 2021 年 6 月 11 日
Hi Andreas,
I could run the above commands without issue in Update 5 of R2020b MATLAB.
Can you run the following commands in the MATLAB command window before creating subscriber ?
clear classes; rehash path; rehash toolbox; rehash pathreset; rehash toolboxreset; rehash toolboxcache;sl_refresh_customizations
Thanks,
Jagadeesh K
Andreas Schwager
Andreas Schwager 2021 年 6 月 11 日
Thanks Jagadeesh, I'll do. However, the issue happened immeadiately after Matlab and roscore restart.
Best Regards

サインインしてコメントする。

回答 (1 件)

Jagadeesh Konakalla
Jagadeesh Konakalla 2024 年 1 月 11 日
The issue looks like resolved with the following commands,
clear classes; rehash path; rehash toolbox; rehash pathreset; rehash toolboxreset; rehash toolboxcache;sl_refresh_customizations
Thanks
Jagadeesh K.

カテゴリ

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

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by