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 best solutions below
Related Questions in ROS
- Bad Orientation of Principal Axis of a Point Cloud
- c++: Undefined reference to ERROR
- rosjava set log level to WARN
- ImageView giving glib error
- How to get ROS xml param from launch file using Python
- How to use lsd_slam on ROS?
- ROS cv_bridge in a class leads to segfault when cv_ptr->image is accessed
- Robot Operating System(ROS), ROSOUT leak file descriptors
- remote roslaunch log files location
- Catkin command not found
- rosrun : Package not found
- catkin_make unable to create executable and automatically copy header files to devel
- Mosquitto with ROS Jade undefined reference
- Undefined Reference when Compiling Kobuki ROS examples from source
- Sending different coloured markers in RViz
Related Questions in POINT-CLOUD-LIBRARY
- Collison Detection between two point clouds using PCL
- Read .las (LiDAR data) in iOS
- How to read .ply file using PCL
- Bad Orientation of Principal Axis of a Point Cloud
- Fanelli face detection - PCL code vs. author's implementation
- Segmentation fault when running compiled file from Cmake
- pcl_visualizer.h - fatal error LNK1120: 1 unresolved externals
- PCL desciptors matching
- Debug assertion failed, vector subscript out of range, C++, PCL
- PCL: How does textureMeshwithMultipleCameras() handle occlusion?
- Getting flat point cloud from disparity map
- Process PCD files (Delete lines based on indices) - MATLAB
- error LNK2001 when including "pcl_visualizer.h"
- How to add libraries to dll project in VS2013?
- How to get camera's parameters at PCL?
Related Questions in PCL
- Error: unresolvable external symbol when using PCL by CLR
- Using ICP in PCL cannot be registered correctly even if a very good initial pose is set
- unable to load big .pcd files using pcl::io::loadPCDFile
- No voxels with a sufficient number of points. I cannot solve this by changing parameters in setLeafSize
- ImportError from file to file of the same folder in ROS Noetic package
- Integrating PCL Visualizer in MFC/win32 window
- how to change '-march=native' compile flag added by PCL in cmake
- undefined reference to pcl::PCLBase<MyPointType>::initCompute()
- Can I convert a sensor_msgs::Pointcloud to pcl::pointcloud
- How to implement PassThrough for pcl_ros
- How to convert sensor_msgs::pointcloud to sensor_msgs::pointcloud2
- PCL RANSAC 3D ellipse model fitting
- Usage of pcl::CropHull
- PCL: Filtering Point Cloud given 2 line equations
- Understanding pcl::getMinMax3D()
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)
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?
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?