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
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

请先登录,再进行评论。

回答(1 个)

Jagadeesh Konakalla
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 CenterFile Exchange 中查找有关 Network 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