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

how to use concatenatePointCloud

I am publishing /tf with a tf_broadcaster node. Also I am publishing with velodyne_driver node. Then the velodyne_pointcloud Transform nodelet is suscribed to both previous topics, applies the tf to...

View Article


pointcloud_to_laserscan returns inf in ROS indigo.

Hi, I am using ROS indigo under UBUNTU 14.04. I am also simulating a turtlebot equipped with kinect camera in v-rep and would like to run gmapping through ROS. Since gmapping requires laserscan data,...

View Article


changing rgb values of /camera/depth_registered/points - not visible!

I am working on a ROS node which subscribes to /camera/depth_registered/points and convert in to a pcl::PointCloud. From there, I explicitly set the rgb values of each point (using the rgb unpacking...

View Article

PCL Pointcloud type conversion/pointer issue

As I want to get used to the PCL library, I tried to test switching between PointCloud and PointCloud2 types. The node corresponding to the following callback function compiles, but produces a...

View Article

multiple pointcloud2 to one single laserscan

Hello there, I have a robot using 2 3D cámeras (both different) Astra Pro and Pico_flexx, both them get a different pointcloud output but both are pointcloud2, one of those cámeras is watching forward...

View Article


Proper way to transform a point cloud

Hello, I am using V-REP to simulate a vehicle with a Velodyne. To simulate the behavior of the real Velodyne, I transform at each simulation pass the captured points to the /odom frame. This is to...

View Article

RGB and Depth sensor_msgs::Image vs XYZRGB sensor_msgs::PointCloud2

Hello, So I have ROS running across multiple machines on a limited network, and I have two possibilities, transfer a XYZRGB sensor_msgs::PointCloud2 directly or two sensor_msgs::Image (one rgb and one...

View Article

pointCloud2 to pcl::pointcloud conversion

I am using velodyne VLP16. The information I am getting from it is "unordered" pointCloud2. I am having a trouble to translate it to pcl::pointcloud. According to the code provided online [here]...

View Article


PointCloud2 access data

I have a PointCloud2 topic and I need to access the x, y and z of the points. I have found: pcl::PointCloud::ConstPtr The problem is that I don't know how to use it. Do you know where can I find some...

View Article


convert VLP16 sensor_msgs/PointCloud2 to sensor_msgs/LaserScan

I would like to test a library that require a sensor *_msgs/LaserScan* topic. I found this question http://answers.ros.org/question/9450/how-to-setup-pointcloud_to_laserscan/ but I am pretty new to ROS...

View Article

Track faces when Kinect is mounted sideways.

I've got a Kinect mounted sideways on my setup, and it needs to stay that way, and detect faces. All the libraries I've tried don't recognize a sideways face. I have a node that publishes a PointCloud2...

View Article

Two Topics with Same Callback

Hi everyone, I am subscribing to two different topics (each with different md5sums) using a single callback. I am using the `message_filters` class to achieve this. In my broadcaster, I am publishing...

View Article

Sensor publish a pointcloud2 msg to ROS

Hey, is there any 3D LiDAR sensors in Gazebo which publish a pointcloud2 msg to ROS? thx a lot

View Article


Datatype to access pointcloud2

Hello all, i am working on pobot object detection project and m totally new at Ros. so far in project we have published pointclouds but can anyone tell me after subscribing to a pointcloud2 message...

View Article

Put sensor_msgs::PointCloud into row of sensor_msgs::PointCloud2

Hey all, I am currently trying to create a function that will take a sensor_msgs::PointCloud that has 953 points in it and replace a row of a sensor_msgs::PointCloud2 that has height 36 and width 953...

View Article


how to use Velodyne VLP16 and laser_scan_matcher with cloud input?

I have a robot equipped with a 3D-Lidar (Velodyne VLP16) and want to use laser_scan_matcher (http://wiki.ros.org/laser_scan_matcher) to estimate it's position. The velodyne driver...

View Article

Start with costmap_2d

Hello friends, looking for some tutorials from where i can create a simple occupancy grid map from pointclouds i.e. conversion of sensor_msgs/pointcloud2 to nav_msgs/occupancygrid. I found costmap_2d...

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

Ros publish() taking more time than expected

Dear All I have observed a strange behavior in my node. I am trying to publish pointcloud topic and subscribing in another node. While profiling the pointcloud node I have observed the publish() method...

View Article

node crashes after rosrun !!

hi guys i am doing blobdetection and tracking ,,, in ros i have implemented something using point cloud to get my x y and z ,, but while catkin_make i have no errors but after rosrun the image is not...

View Article
Browsing all 171 articles
Browse latest View live