Can I convert sensor_msgs::Pointcloud to pcl::pointcloud directly or I need to convert sensor_msgs::Pointcloud to sensor_msgs::Pointcloud2 before converting it to pcl::pointcloud?
Can I convert a sensor_msgs::Pointcloud to pcl::pointcloud
1.5k views Asked by user18465277 At
1
There are 1 answers
Related Questions in ROS
- Python cv2 imwrite() - RGB or BGR
- How do I stream data from TUM RGB-D to ORB-SLAM3 and analyse/record data from that
- px4 Drone does not follow Mavsdk control
- (ros melodic) Lidar odometry is not working well
- cmake and g++ cross compilation looking for library in host sysroot path instead of target sysroot
- How to Reset Quadcopters' Position and Velocity in Gazebo Using Python Script Without Relaunching the Launch File?
- Ros publisher and arduino subscriber
- Transform error while launching multiple turtlebots in ROS NOETIC
- How to convert local radar laser to global position?
- Unable to apply Camera Distortion on Gazebo Harmonic
- Extracting obstacle information from hectorslam map data
- KITTI dataset: ground truth labels (bird's eye view) match after an image generation?
- How to install pyyaml into `/usr/lib/python3/dist-packages`
- ros noetic installation problem on ubuntu
- How do I modify this DC motor encoder code to work with 4 DC motors?
Related Questions in POINT-CLOUD-LIBRARY
- Segmentation of a building (Pointcloud)
- How to compare 2 point-clouds?
- Given one set of 2D points as groud truth, how to match it with one observed set
- PCLVisualizer flashing when using .spinOnce()
- Filtering the point cloud coming from multiple lidars
- Why are the eigen vectors not calculated as expected for cube-like point clouds with the Eigen library?
- "[rosrun] Couldn't find executable named example below /home/USERNAME/catkin_ws/src/my_pcl_tutorial" Trying to get PCL working with ROS
- error: no matching function for call to -- ROS (C++)
- SOLVED No matching function for call to ‘pcl::VoxelGrid<pcl::PointXYZ>::VoxelGrid(bool) for using getRemovedIndices()
- vuforia area target point clound
- Incorrect reconstruction when moving a pointcloud using pcl::Poisson
- PointCloud upsampling
- How to make a rectangle by aligning the cloud of points obtained with four lidars?
- What's the principle of uniform_sampling in PCL?
- Volume Calculation on PointCloud
Related Questions in PCL
- CMake doesn't find PCL components
- PCLVisualizer flashing when using .spinOnce()
- Filtering the point cloud coming from multiple lidars
- Installation/configure/build problems with CMake and PCL
- SOLVED No matching function for call to ‘pcl::VoxelGrid<pcl::PointXYZ>::VoxelGrid(bool) for using getRemovedIndices()
- How to solve the ERROR Cannot locate rosdep definition for [PCL]?
- Incorrect reconstruction when moving a pointcloud using pcl::Poisson
- PointCloud upsampling
- After trying to build a package in ROS-Melodic i get the ERROR: "Could NOT find Boost"
- How should I use CLion 2023.3.2 to configure vtk9.1 and pcl1.12 on ubuntu 22.04 and use cmake to implement a simple hello world
- Segmentation fault in PCL viewer
- Python Windows environment error report: cl.exe failed with exit status 2
- undefined reference to pcl::PCLBase<MyPointType>::initCompute()
- ImportError from file to file of the same folder in ROS Noetic package
- Integrating PCL Visualizer in MFC/win32 window
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
As far as I understood it PCL can only work with sensor_msgs::PointCloud2 directly. ros_pcl.
U can use a converter as the middle-man between your pcl node and your publisher node. How to convert sensor_msgs::pointcloud to sensor_msgs::pointcloud2
or
If possible use sensor_msgs/PointCloud2 Take a look at: laser-scan-multi-merger it can be used to convert only one laser-scan topic aswell and directly converts it to PointCloud2. The pass through filter can be done on the pcl::PointCloud side aswell no?