Simulink stuck with Robotics Toolbox model initialization
1 view (last 30 days)
I have seen here that there was a problem on Windows machines with matlab2017a. But I am on ubuntu 14.04 and I am using matlab2017b and I have the following problem.
I recorded a rosbag with the following topics:
duration: 1:13s (73s)
start: Mar 01 2018 15:13:41.94 (1519913621.94)
end: Mar 01 2018 15:14:55.92 (1519913695.92)
size: 5.8 GB
compression: none [4359/4359 chunks]
types: geometry_msgs/Pose [e45d45a5a1ce597b249e23fb30fc871f]
topics: /Drones/Pose 1233 msgs : geometry_msgs/Pose
/apriltag/uv_array 1393 msgs : geometry_msgs/PoseArray
/camera/camera_info 2966 msgs : sensor_msgs/CameraInfo
/camera/image_raw 2966 msgs : sensor_msgs/Image
/vicon/boxAprilTag/boxAprilTag 8535 msgs : geometry_msgs/TransformStamped
/vicon/cameraFlea/cameraFlea 8547 msgs : geometry_msgs/TransformStamped
I created a simulink model with only a ROS subscribe block which subscribe to the topic
which is a msg of type
I then play the rosbag I recorded and when I try to build the model everything is ok. When, instead, I try to run the model this gets stuck into the initializing phase and never gets out of it. How can I solve this problem?
Thanks in advance.