eProsima/Integration-Service

Could not find .mix file for message type: 'sensor_msgs/msg/Image'

Closed this issue · 1 comments

Could not find .mix file for message type: 'sensor_msgs/msg/Image'.
-- Make sure that you have generated the 'is-ros2' extension for that message type by calling

'is_ros2_rosidl_mix(PACKAGES MIDDLEWARES ros2)' in your build system!

Even though all the mix files are generated but integration-service is unable to find those.

Screenshot from 2022-04-01 20-25-07
Screenshot from 2022-04-01 20-26-20

Similar error happens for the 'std_msgs/msg/Header'.
Screenshot from 2022-04-01 20-24-37

I have tired colcon build --cmake-args -DMIX_ROS_PACKAGES="std_msgs sensor_msgs geometry_msgs". Please help.

This issue was resolved by creating a .msg file as Image.msg in the ros2 workspace and compile it. While creating the msg file developer should maintain the same attributes of sensor_msgs/msg/Image.