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

8 vues (au cours des 30 derniers jours)
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?

Réponse acceptée

Mohsen Malayjerdi
Mohsen Malayjerdi le 1 Nov 2019
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.

Plus de réponses (0)

Catégories

En savoir plus sur Bag File Logging and Analysis dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by