Why do I get an error about a missing ros_structmsg_conversion.h header file when compiling generated C++ code for ROS interfaces?
显示 更早的评论
I wrote MATLAB code that contains interface functions from ROS Toolbox that support code generation (such as "rossubscriber", "rospublisher", "rosrate"). Then, I generated C++ code from this function using MATLAB Coder.
When I relocated the code to my ROS environment to compile it, I got an error about the shipped file "mlroscpp_sub.h" which includes a header file named "ros_structmsg_conversion.h" that is missing. Unfortunately, I cannot find this header file anywhere in the MATLAB installation.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 ROS 2 Network Connection and Exploration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
