rosgenmsg cannot be used after updating Matlab 2022b

3 views (last 30 days)
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

Answers (0)

Categories

Find more on Custom Message Support 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!