Skip to content

When receiving image messages in Simulink in MATLAB, the ROS bridge crashes. #758

Open
@0116lhc

Description

@0116lhc

My application scenario is as follows: two computers are on the same local network. One is running Ubuntu with ROS Bridge adn foxy installed, and the other is running Windows 11 with CARLA 0.9.13 and MATLAB 2025. After launching CARLA and the ROS Bridge, I can subscribe to image and point cloud data using rviz2 on the Ubuntu machine without any issues.

However, as soon as I try to receive image data using Simulink in MATLAB, the ROS Bridge crashes with a bad_alloc error.

I suspect it might be related to QoS settings, so I tried modifying the QoS configuration in Simulink, but no matter how I change it, the ROS Bridge still crashes.

What could be causing this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions