Error using ROS custom messages add-on
Mostra commenti meno recenti
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 Commenti
MathWorks Robotics and Autonomous Systems Team
il 6 Dic 2017
Modificato: Walter Roberson
il 20 Feb 2026 alle 19:34
Can you confirm if you followed step by step guide on this page:
And still see the issue.
I would also try to reinstall the addon - seems the addon is not configured correctly.
Michael Friedman
il 6 Dic 2017
Michael Friedman
il 7 Dic 2017
MathWorks Robotics and Autonomous Systems Team
il 11 Dic 2017
Can you please inform the following: - what MATLAB release are you using? - Are you able to run this to get any information:
>>which hwconnectinstaller.PackageInfo
Michael Friedman
il 11 Dic 2017
MathWorks Robotics and Autonomous Systems Team
il 12 Dic 2017
Thanks Michael, for the information. We are working on a fix to this issue and will make it available soon. Sorry for the inconvenience.
Risposte (1)
MathWorks Robotics and Autonomous Systems Team
il 24 Gen 2018
0 voti
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
Categorie
Scopri di più su Custom Message Support in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!