depth-camera-pipeline

Orchestrate depth camera data into point clouds and 2D laser scans for ROS 2 Nav2.

18|2|Updated Apr 20, 2026
One-click install
npx skills add https://github.com/wimblerobotics/ros2-copilot-skills --skill depth-camera-pipeline
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: depth-camera-pipeline
Source: https://github.com/wimblerobotics/ros2-copilot-skills/tree/main/depth-camera-pipeline
Command: npx skills add https://github.com/wimblerobotics/ros2-copilot-skills --skill depth-camera-pipeline

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Depth Camera Pipeline streamlines the processing of depth camera data for ROS 2 Nav2, enabling seamless conversion from raw depth images to usable 3D and 2D representations for perception and navigation.

Core Features & Use Cases

  • Point_cloud_xyz and point_cloud_xyzrgb generation from depth images for 3D mapping and obstacle avoidance.
  • depthimage_to_laserscan and full depth pipeline integrations to produce 2D LaserScan streams for costmaps.
  • Use Case: integrate a RealSense or Azure Kinect pipeline into a Nav2-enabled robot to feed both a 3D point cloud and a 2D scan for robust navigation.

Quick Start

Run the depth-camera-pipeline to initialize the depth data flow from raw images through depth_image_proc and depthimage_to_laserscan into the Nav2 costmap.

Frequently Asked Questions about depth-camera-pipeline

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a depth camera image to a laserscan for Nav2?

Converting a depth camera image to a laserscan for Nav2 requires transforming raw depth data into 2D LaserScan streams using depthimage_to_laserscan integration. This pipeline feeds the resulting scan data directly into the Nav2 costmap for obstacle avoidance.

Can I use a RealSense depth camera with ROS 2 Nav2?

Yes, the depth camera pipeline supports RealSense setups in ROS 2. It orchestrates the data flow from raw depth images into point clouds and 2D laser scans, enabling both 3D perception and 2D costmap integration for Nav2 navigation.

How do I generate point clouds from depth images in ROS 2?

Generating point clouds from depth images in ROS 2 involves using depth_image_proc to create point_cloud_xyz and point_cloud_xyzrgb outputs. This pipeline handles depth registration and camera info alignment to produce usable 3D mapping data.

Does the depth camera pipeline support Azure Kinect and OAK-D?

Yes, the depth camera pipeline applies to Azure Kinect and OAK-D setups alongside RealSense. It configures the necessary remappings and launch configurations to feed both 3D point clouds and 2D scans into your ROS 2 navigation pipeline.

Why do I need depth registration and camera info alignment for Nav2?

Depth registration and camera info alignment are required to accurately map raw depth pixels to 3D space and 2D laser scans. This pipeline ensures the geometric transformations are correct so Nav2 costmaps receive reliable obstacle data.

What is the best way to integrate 3D point clouds and 2D costmaps in ROS 2?

Integrating 3D point clouds and 2D costmaps in ROS 2 requires a depth camera pipeline that outputs both representations simultaneously. This approach uses depth_image_proc for 3D perception and depthimage_to_laserscan for robust Nav2 costmap integration.