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

4 visualizaciones (últimos 30 días)
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?

Respuesta aceptada

Mohsen Malayjerdi
Mohsen Malayjerdi el 1 de Nov. de 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.

Más respuestas (0)

Categorías

Más información sobre Specialized Messages en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by