ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Can i use .pcd as map in ros rviz?

asked 2021-04-05 02:56:54 -0500

john-le gravatar image

i have a rosbag converted to map_.pcd in cloudcompare, does pcd can be use as map in rviz?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-05-07 04:05:01 -0500

Aleksandr Savel'ev gravatar image

If you want to visualize it in rviz, one of most convenient way is to use pcd_to_pointcloud tool.

 $ rosrun pcl_ros pcd_to_pointcloud <file.pcd> [ <interval> ]

<'file.pcd> is the (required) file name to read.

<'interval> is the (optional) number of seconds to sleep between messages. If <interval> is zero or not specified the message is published once.

edit flag offensive delete link more

Question Tools

3 followers

Stats

Asked: 2021-04-05 02:56:54 -0500

Seen: 440 times

Last updated: May 07 '21