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

조회 수: 2 (최근 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 CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by