Publish a topic data from a rosbag file and fail to visualize in Rviz

조회 수: 8 (최근 30일)
Hello everyone,
I am working on a ROS-Simulink simulation project. At the first step, I'm going to publish some waypoint data from a rosbag file and visualise it in rviz. when I select a topic (i.e. /local_waypoints_marker) in the read data block (from my ROS Bag), the source frame indicates N/A, while I have several frame in the available frame section in my rosbag file. On the other hand, when I play this rosbag file with rosplay it visualize in the Rviz without any problem.
I can publish my point cloud data through this block (simulink detects its source frame) but I don't know why it doesn't specify another topics source frame.
Do you have any Idea?

채택된 답변

Mohsen Malayjerdi
Mohsen Malayjerdi 2019년 11월 1일
Hi All,
Finally I find out the source of my problem,
The problem is some Matlab ROS custome messages especially Visualization_msg was for ROS indigo and when publish it to the ROS it cant recieve it.
For replacing the custome messages with the new one for ROS Kinetic you can download them from ROS website then follow this nice solution to replace them with the old one.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Bag File Logging and Analysis에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by