rosgenmsg cannot be used after updating Matlab 2022b

2 次查看(过去 30 天)
Identifying message files in folder 'D:/Matlab_Program/Simulink_PX4_with_ROS2_Tutorial-master/custom'.Done.
Validating message files in folder 'D:/Matlab_Program/Simulink_PX4_with_ROS2_Tutorial-master/custom'.Done.
[1/1] Generating MATLAB interfaces for custom message packages... Done.
Running colcon build in folder 'D:/Matlab_Program/Simulink_PX4_with_ROS2_Tutorial-master/custom/matlab_msg_gen/win64'.
Build in progress. This may take several minutes...错误使用 ros.internal.ROSProjectBuilder/buildPackage
Error building package: build log.
出错 ros2genmsg (第 336 行)
buildPackage(builder, [], ' --merge-install', colconMakeArgs); %other messages might need to be present in the same directory
出错 buildPX4MsgScript (第 2 行)
ros2genmsg("custom")
出错 buildPX4Msg (第 3 行)
evalin('base', 'buildPX4MsgScript;');
出错 matlab.internal.project.util.runMATLABCodeInBase
出错 matlab.internal.project.util.runMATLABCodeInBase
出错 matlab.internal.project.util.runMATLABCodeInBase
出错 matlab.internal.project.util.runMATLABCodeInBase

回答(0 个)

类别

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