Im trying to use rosgenmsg and I get an error in the build progress (line 552)
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
My code:
folderpath="catkin_ws/src"
rosgenmsg(folderpath)
The error message that I receive is:
Error using ros.internal.ROSProjectBuilder/buildPackage (line 552)
Error building package: build log.
Error in rosgenmsg (line 483)
buildPackage(builder, [], 'install', catkinMakeArgs); %other messages might need to be present in the same directory
I try different ways to solve the problem such as changing the folder path or updating the cmake to version 3.19.
Last of all I launch matlab from ubuntu 18.04. ( I believe that is not the problem)
4 Kommentare
Jagadeesh Konakalla
am 16 Jun. 2022
You missed to send the log file generated by rosgenmsg. Please send that. In the MATLAB error message, you should see a hyper link. Please clikc on that and send the content the log file.
Jagadeesh Konakalla
am 21 Jun. 2022
Hi,
From the log, i see the following issue while CMAKE is building the library for the custom messages. If you can share the custom messages, i can take a look at it.
In file included from /home/ruiz17/catkin_ws_niryo_ned/src/matlab_msg_gen_ros1/glnxa64/src/niryo_robot_status/src/niryo_robot_status_RobotStatus_message.cpp:27:0:
/home/ruiz17/catkin_ws_niryo_ned/src/matlab_msg_gen_ros1/glnxa64/devel/include/niryo_robot_status/RobotStatus.h:118:20: error: redeclaration of ‘REBOOT_MOTOR’
REBOOT_MOTOR = 13,
^~
Thanks,
Jagadeesh K.
Antworten (1)
Siehe auch
Kategorien
Mehr zu Custom Message Support finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!