フィルターのクリア

I encountered an error ‘Error during service call, cannot get the state of the model’

1 回表示 (過去 30 日間)
雷 雷
雷 雷 2022 年 1 月 7 日
回答済み: Cam Salzberger 2022 年 1 月 18 日
This is a routine that comes with matlab. I have successfully run it in matlab2016b and matlab2019b, but I can’t succeed in matlab2021b. I’m not sure what caused it.This routine is ‘Add, Build, and Remove Objects in Gazebo’
  2 件のコメント
Cam Salzberger
Cam Salzberger 2022 年 1 月 7 日
Hello,
This may seem like an obvious question, but I want to cover the basics first. Did you get the new VM as directed by this example? ROS Toolbox is using Melodic for communication since R2020b, so if you're using the same VM as you did with R2019b, there may be issues communicating.
-Cam
雷 雷
雷 雷 2022 年 1 月 13 日
thank for your help

サインインしてコメントする。

回答 (1 件)

Cam Salzberger
Cam Salzberger 2022 年 1 月 18 日
Since that seems to have resolved the issue, copying my comment into an answer:
Make sure to get a new VM as directed by this example any time you upgrade your release. ROS Toolbox is using Melodic for communication R2020b-R2022a, so if you're using the same VM as you did with R2019b (or before), there may be issues communicating.
-Cam

カテゴリ

Help Center および File ExchangeROS 2 Network Access in Simulink についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by