I have these blocks in Simulink. Enabling autopilot is working fine, but Simulink isn't able to read the images of the camera sensor. Ros2 read image block returns errorCode 1 which means that the codification of the image isn't correct. I've checked and the configuration is ok, matchig the image codification with the ros2 message information of it. Does someone know what's wrong? I've also tried to read a node created by myself that publishes an image and I have the same problem.
I have these blocks in Simulink. Enabling autopilot is working fine, but Simulink isn't able to read the images of the camera sensor. Ros2 read image block returns errorCode 1 which means that the codification of the image isn't correct. I've checked and the configuration is ok, matchig the image codification with the ros2 message information of it. Does someone know what's wrong? I've also tried to read a node created by myself that publishes an image and I have the same problem.