Error of gazebogenmsg to create the customized gazebo plugin
Show older comments
Hi, all.
I am trying yo generate the customized gazebo message plugin using the gazebogenmsg commend, as shown below.
%% custom message
folderPath = 'C:\PersonalWorkspace\Yunsik\2nd_teleoperation\workspace\custommsg';
gazebogenmsg(folderPath,"GazeboMessageList",["gazebo.msgs.Joint","gazebo.msgs.Link",...
"gazebo.msgs.Pose", "gazebo.msgs.Sensor", ...
"gazebo.msgs.Contact", "gazebo.msgs.Contacts",...
"gazebo.msgs.ContactSensor", "gazebo.msgs.Collision", "gazebo.msgs.Wrench", ...
"gazebo.msgs.WrenchStamped", "gazebo.msgs.ForceTorque"]);
But, I got this error message,
>> custommsg
Validating ...
Error using
robotics.gazebo.internal.customMessageSupport.compilerValidation
(line 53)
Installed compiler is either invalid or not
supported. Install "Microsoft Visual C++: version >
14.0 ".
Error in gazebogenmsg (line 151)
robotics.gazebo.internal.customMessageSupport.compilerValidation();
Error in custommsg (line 4)
gazebogenmsg(folderPath,"GazeboMessageList",["gazebo.msgs.Joint","gazebo.msgs.Link",...
Indeed, I have installed visual studio 2019 and visual studio build tools,
Do you have any ideas?
Thanks!
Yun
Accepted Answer
More Answers (0)
Categories
Find more on MATLAB Compiler in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!