Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NotImplementedError: ROS sensor_msgs not found while reading rosbag #39

Open
vishaldolase-honda opened this issue May 19, 2023 · 1 comment

Comments

@vishaldolase-honda
Copy link

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

@Merwanski
Copy link

Hey @vishaldolase-honda
Check the lines 48 -> 51 in the following script to extract the point cloud data
https://gist.github.com/Merwanski/bef218ff3b7472d5ac787e1392116fd7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants