필터 지우기
필터 지우기

ros2genmsg not working or is there an alternative to sourcing ROS2 custom msgs

조회 수: 2 (최근 30일)
Hadi Jaber
Hadi Jaber 2022년 9월 8일
댓글: 鑫 王 2022년 9월 23일
OS: Windows 10:
Python: version 3.7 installed from window's store installer
Been all day trying to get ros2genmsg function working. I have
-pyenv to the appropriate python3.7 exe
-pointed to cmake version 3.1 or higher
-installed visual studio and did a mex c++ command in matlab to select the VS2019 compiler.
After all that I still get errors when running rosgenmsg on a simple Test.msg. I feel like I have tried everything to get this working. Is there a way to source interfaces before opening MATLAB. For example, I have tried opening matlab from a terminal with ROS and said custom interface sourced. But this still does not import the custom interface. Is there a workaround to not having to call rosgenmsg.
Log file attached and quick image of error shown below.
  댓글 수: 1
鑫 王
鑫 王 2022년 9월 23일
hi ,do you deal this question sucessful? After update matlab 2022b i have a same question

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Custom Message Support에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by