Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Browsing all 171 articles
Browse latest View live

How to convert a PointCloud via tf2

Hey there, I tried to write some pretty simple code with tf2 and I'm stuck already. How does one transform a `pcl::PointCloud<...>` when using `tf2` (and, less importantly, how about transforming...

View Article


Coordinates of a specific pixel in depthimage published by Kinect

I am looking for an answer for hours and finally I am asking it here. I am using CMvision to find a specific color in Kinect's sight and I want to find the real world coordinates of the object with...

View Article


Using PointCloud in AMCL

Hi, I am using the AMCL filter from ROS packages and I have configured it following the instructions on the website. I am wondering if it is possible to change the sensor input from the laser to a...

View Article

Rviz does not display Pointcloud2 if encoding not FLOAT32

HI all, I have written driver for a ToF camera and I have found the following problem. I publish the 3D coordinates as they come from the device, INT16. I create it as follow:...

View Article

Transforming PointCloud2

I would like to know if somebody knows what is the substitute for the function of transformPointCloud() for PointCloud2 data type as in this...

View Article


Conversion from sensor_msgs::PointCloud2 to pcl::PointCloud

Hi all, I am digging deep in this forum, but I'm getting lost. I am using ROS Groovy and receiving a sensor_msgs::PointCloud2 from a depth_image_proc nodelet and I want to process it using PCL 1.7....

View Article

Unable to set color transformer in rviz

Hey guys, I am trying to visulaize color point clouds on rviz, but i see nothing. I am using depth_image_proc/point_cloud_xyzrgb nodelet, Basically I am unable to set Color transformer to RGB8 in Rviz....

View Article

stereo_image_proc PointCloud2 transform

Im using a Bumblebee2 stereo camera, and using the camera1394stereo package to interface with the camera. I then plug the outputs of that node into stereo_image_proc, to get a point cloud, which i...

View Article


Matlab Ros Extract Point Cloud 2 BLOB

I'm using Matlab with ROS support, and I'm successfully reading PointCloud2 data from a Kinect. How can I extract the x,y,z,rgb data from the BLOB structure contained in the *sensor_msgs/PointCloud2*...

View Article


Velodyne UDP packets, ROS messages, and PCD files: Where does the time go?

Here is what I understand about the tool chain that turns Velodyne UDP packets into PCD files: 1. ([input.cc](https://github.com/ros-drivers/velodyne/blob/master/velodyne_driver/src/lib/input.cc#L88))...

View Article

Understanding /camera/depth/points

What does the value in the 'data' field of the data published by /camera/depth/points represent? They are supposed to represent the distance of every pixel from the Kinect center point? How to I...

View Article

pointcloud to XYZ without .pcd file

I want to subscribe for PointCloud2 data from kinect and work on the encoded XYZ data subsequently in the same program without saving it as .pcd file and again retrieving it back for XYZ data for real...

View Article

printing kinect point cloud data alone gives garbage

I have subscribed to /camera/depth/points to get the PointCloud2 data from kinect. When I try to print the PointCloud2 data alone leaving out the headers, height and width etc i get a pool of garbage...

View Article


pointcloud_to_laserscan package not working in ROS indigo

The pointcloud_to_laserscan package is not working properly in ROS Indigo. The Indigo build is done recently and seems to contain some error. As required by the node I have published the pointcloud...

View Article

OpenCL clEnqueueWriteBuffer Error

Hi folks, I am running the Kinect One package from here: https://github.com/code-iai/iai_kinect2 When I display "Camera" in Rviz everything works fine, but when I try to display the PointCloud2 in...

View Article


Using PointCloud2 data (getting x,y points) in Python

In a Python ROS node, I've subscribed to a sensor_msgs/LaserScan topic, converted them to sensor_msgs/PointCloud2 messages, and am trying to extract X, Y (and Z) point coordinates. The transformation...

View Article

OctoMap not publishing anything ??

Hi I am trying to convert PointCloud2 into OctoMap. I publish the point cloud (from a ply file) on topic 'cloud_in' with frame_id set to 'base_link'. When I run rostopic echo cloud_in I can see all the...

View Article


Problem creating OctoMap from PointCloud2

Hi I am trying to create an octomap from PointCloud2. I load the pointcloud from my ply file convert it into PointCloud2 and publish it on 'cloud_in' topic. The messages are published file. I then...

View Article

Can't Display PointCloud2 in Rviz

I'm trying to display a monochrome image/inverse depth map as a PointCloud2 in Rviz, but I'm getting garbage (basically random points) and can't figure out what I'm doing wrong. I've verified that the...

View Article

Visualize a .ply file with a pointcloud in Rviz

Hi everybody, i'm looking for a method that could help me visualize a pointcloud in .ply format, saved from LSD (pressing the "p" while it is mapping) in Rviz. did somebody could help me? thanks

View Article
Browsing all 171 articles
Browse latest View live


Latest Images