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

3 views (last 30 days)
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 Comments
Jagadeesh Konakalla
Jagadeesh Konakalla on 11 Jun 2021
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 on 11 Jun 2021
Thanks Jagadeesh, I'll do. However, the issue happened immeadiately after Matlab and roscore restart.
Best Regards

Sign in to comment.

Answers (1)

Jagadeesh Konakalla
Jagadeesh Konakalla on 11 Jan 2024
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.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!