Giter VIP home page Giter VIP logo

tud-pses / pses_kinect_utilities Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 5.0 2.22 MB

ROS-package with some utilities to cope with the noisy and dense data of the kinect and to perform efficiently some useful conversions such as depth image to point cloud or point cloud to laserscan.

License: GNU General Public License v3.0

CMake 4.14% C++ 90.79% Python 2.22% C 2.85%
ros pointcloud depth-image kinect kinect-v2 kinect-depth voxel-grid-filter

pses_kinect_utilities's Introduction

PSES Kinect Utilities

This ROS-package provides some utilities to cope with the noisy and dense data of the kinect and to perform efficiently some useful conversions such as depth image to point cloud or point cloud to laserscan.

Prerequisites

This project was build with ROS Kinetic but should work on older ROS versions as well. In addition to that, this project depends on the ROS packages cv_bridge, pcl_ros and tf2_sensor_msgs. You will need to install them, if they are not already installed in your system. More about that in a moment.

Installing

Clone the repo into your ROS src folder:

cd ~/catkin_ws/src

git clone https://github.com/tud-pses/pses_kinect_utilities.git

cd ..

Install all dependencies of the package:

rosdep install pses_kinect_utilities

Build the package with catkin_make:

catkin_make

Getting Started

Please feel free to browse our wiki, where you can find instructions on how to use and configure this package.

Pses_Kinect_Utilities Wiki

If you're looking for a documentation of the code, please follow this link:

C++ documentation

Screenshots

Here are some screenshots from our toolkit: color image Original color image delivered by the kinect2_bridge

depth image Original depth image delivered by the kinect2_bridge

depth_filtered Depth image after being filtered by a median filter with our package

point_cloud

Point cloud computed and published by our package

Note: We implemented our own point cloud conversion, which is performed on the GPU using a opencl kernel. Therefore it is more efficient and faster than the pointcloud delivered by the kinect2_bridge or the package depth_image_proc

point_cloud_filtered Point cloud after being filtered by a voxel grid filter with our package. The red points conform the resulting laserscan, which is also provided by our package.

Authors

  • Nicolas Acero
  • Sebastian Ehmes

pses_kinect_utilities's People

Contributors

arg0n1s avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

pses_kinect_utilities's Issues

missing timestamps when converting from depth-image to pointcloud

When converting depth-msgs to pointclouds no timestamps are given. This can lead to timing problems with e.g. non static TF transformations.

The solution is adding a simple line in src/nodelets/point_cloud_xyz.cpp

Line 131 onwards:

pc->header.frame_id = tf_frame_;
pc->header.stamp = depth_msg->header.stamp.toNSec() / 1000ull;
pub_cloud_.publish(pc);

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.