Skip to content

louietouie/pointcloud_grasp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

Pointcloud Processing for Manipulation with Realsense D435

This repo contains ROS2 packages that act on the ROS2 topics published by RealSense cameras (depthImage and PointCloud2). are useful for common pointcloud manipulation tasks.

Getting Started

Before running these packages, both ROS2 and a few realsense libraries need to be installed. The realsense installs include the base software, that gives you commands like realsense-viewer, to view the cameras outputs in a GUI. Seperate realsense ROS2 wrappers also need to be installed, to allow for realsense to publish to ROS2 topics with commands like...

  1. ros2 launch realsense2_camera rs_launch.py
  2. ros2 launch realsense2_camera rs_launch.py pointcloud.enable:=true
  3. ros2 launch realsense2_camera rs_pointcloud_launch.py

The packages here have launch files to start everything necessary at once. To launch the nodes to calculate and publish normals based on the depth images of a single realsense camera, call the following commands from the top-level pointcloud_grasp directory.

  1. colcon build
  2. ros2 launch pointcloud_package master.launch.py

Packages

pc_processor_node.py

This calculates the normals using the depth image (not the pointcloud), from a single RealSense camera. When using the depth image instead of a pointcloud, finding the nearest-neighboring points is faster, because the assumption is made that nearby points in 3D space will also be nearby pixels in the 2D image. This assumption fails around edges where the depth quickly changes, but in general, works well. The algorithm I used to calculate normals is described in Chapter 5 of the MIT Robot Manipulation course.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages