Robotics System Toolbox Interface for ROS Custom Messages gone missing

2 ビュー (過去 30 日間)
Alexandre
Alexandre 2016 年 12 月 5 日
編集済み: Alexandre 2016 年 12 月 12 日
Hi,
I've install the Robotics System Toolbox Interface for ROS Custom Messages, build my custom message and used it successful. The issue occurred once I restarted matlab, although the toolbox is labelled as installed. The function rosgenmsg is unknown and my custom message can't be used.
P.s. I'm running ubuntu 16.04 with Matlab R2016b
Thanks
Alexandre

回答 (1 件)

Hari Desanur
Hari Desanur 2016 年 12 月 12 日
Run the following command to check if the "rosgenmsg.m" file is present in the MATLAB path.
>> which -all rosgenmsg
Add the '\toolbox\robotics\supportpackages\roscustommsg' folder and it's sub folders into the MATLAB path.
Also check if you can see the "Robotics System Toolbox Interface for ROS Custom Messages" add on as installed in the 'Add-On Explorer'. You can open this by clicking on the 'Add-Ons' button on the 'HOME' Tab in Environment Section.
If you cannot find the above files, reinstall the add-on.
  1 件のコメント
Alexandre
Alexandre 2016 年 12 月 12 日
編集済み: Alexandre 2016 年 12 月 12 日
I have now uninstalled and reinstalled the add-on and it seems it's their to stay. I'm not sure why this time it works but I suspect something about the pathing.

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

カテゴリ

Help Center および File ExchangeCustom Message Support についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by