pypcd
pypcd copied to clipboard
NotImplementedError: ROS sensor_msgs not found while reading rosbag
Hi, i am new to ROS2 and pointcloud. I have Lidar data in rosbag. i want to convert it into kitti dataset format .bin files i wanted to use pypcd to read the data but its giving following issue
pc = pypcd.PointCloud.from_msg(loc[indx])
File "/home/robot/.local/lib/python3.8/site-packages/pypcd/pypcd.py", line 779, in from_msg raise NotImplementedError('ROS sensor_msgs not found') NotImplementedError: ROS sensor_msgs not found
Please provide solution, thank you
Hey @vishaldolase-honda Check the lines 48 -> 51 in the following script to extract the point cloud data https://gist.github.com/Merwanski/bef218ff3b7472d5ac787e1392116fd7