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

4 次查看(过去 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 中查找有关 Specialized Messages 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by