Error using ROS custom messages add-on

4 次查看(过去 30 天)
Hi all,
I have just installed the ROS custom message add-on to the Robotics System Toolbox, and it seems to be broken - when I run rosgenmsg(folderpath), I get the error message:
"Undefined variable "hwconnectinstaller" or class "hwconnectinstaller.PackageInfo".
Error in robotics.ros.custommsg.internal.SupportPackage
Error in robotics.ros.custommsg.internal.setup.registerMessageCatalog (line 9) spPkg = robotics.ros.custommsg.internal.SupportPackage;
Error in rosgenmsg (line 33) robotics.ros.custommsg.internal.setup.registerMessageCatalog;"
I noticed another person with an identical problem commenting on the add-on 2 days ago. Does anyone know how to fix this please?
  6 个评论
Michael Friedman
Michael Friedman 2017-12-11
It's MATLAB 2017b, and that command unfortunately leads to "'hwconnectinstaller.PackageInfo' not found"...
MathWorks Robotics and Autonomous Systems Team
Thanks Michael, for the information. We are working on a fix to this issue and will make it available soon. Sorry for the inconvenience.

请先登录,再进行评论。

回答(1 个)

MathWorks Robotics and Autonomous Systems Team
Ok I am glad to announce that we fixed the issue in our product, and there is a new version for the addon 17.2.1 present.
On MATLAB from R2017b, >> roboticsAddons
Update your ROS Custom Message addon.
or can use MATLAB Home tab Add-ons > Manage Add-ons

类别

Help CenterFile Exchange 中查找有关 Custom Message Support 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by