Ask Your Question
0

Regarding bag_pcd

asked 2021-05-24 07:42:09 -0500

Aleena gravatar image

updated 2021-05-24 17:09:01 -0500

jayess gravatar image

Hello, I am using ROS for obtaining point cloud using IWR6843ISK. The package used is (https://git.ti.com/git/mmwave_radar/m...). I tried to save the /ti_mmwave/radar_scan as pcd file but there was an error. Then I saved the point cloud data as bag file. I used bag_pcd to convert bag file to pcd. But the error displayed was,

Provided topic '/ti_mmwave/radar_scan' is in the bag file, but is not of type sensor_msgs/PointCloud2 (type: ti_mmwave_rospkg/RadarScan)
Could not find a sensor_msgs/PointCloud2 type on topic '/ti_mmwave/radar_scan' in bag file 2021-05-24-16-26-06.bag
Topics found in the bag file:
    /ti_mmwave/radar_scan (ti_mmwave_rospkg/RadarScan)

How to resolve this? Thanks in advance. Thanks and regards, Aleena N A

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-05-24 15:50:58 -0500

Looks like the /radar_scan topic is of type /RadarScan. The bag_to_pcd package requires sensor_msgs/PointCloud2 type.

You will have to find a way to convert RadarScan to PointCloud2 type and it should work fine.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2021-05-24 07:42:09 -0500

Seen: 41 times

Last updated: May 24