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

4 visualizzazioni (ultimi 30 giorni)
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 Commenti
Jagadeesh Konakalla
Jagadeesh Konakalla il 11 Giu 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 il 11 Giu 2021
Thanks Jagadeesh, I'll do. However, the issue happened immeadiately after Matlab and roscore restart.
Best Regards

Accedi per commentare.

Risposte (1)

Jagadeesh Konakalla
Jagadeesh Konakalla il 11 Gen 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.

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Prodotti


Release

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by