Im trying to use rosgenmsg and I get an error in the build progress (line 552)
8 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Alberto Ruiz Paris
el 14 de Jun. de 2022
Comentada: Jagadeesh Konakalla
el 21 de Jun. de 2022
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 comentarios
Jagadeesh Konakalla
el 16 de Jun. de 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
el 21 de Jun. de 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.
Respuestas (1)
Ver también
Categorías
Más información sobre Custom Message Support en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!