RealSense Setup
Scope¶
This page is for Intel RealSense D435 / D435i deployment on Ubuntu 22.04 + ROS 2 Humble, including the repository-side d435i_test.launch.py validation flow.
Official references:
Register the APT Key¶
sudo mkdir -p /etc/apt/keyrings
curl -sSf https://librealsense.realsenseai.com/Debian/librealsenseai.asc | \
gpg --dearmor | sudo tee /etc/apt/keyrings/librealsenseai.gpg > /dev/null
Install APT HTTPS Support¶
Add the RealSense Repository¶
echo "deb [signed-by=/etc/apt/keyrings/librealsenseai.gpg] https://librealsense.realsenseai.com/Debian/apt-repo `lsb_release -cs` main" | \
sudo tee /etc/apt/sources.list.d/librealsense.list
sudo apt-get update
Install Runtime Packages¶
These packages install udev rules, kernel modules, runtime libraries, and tools such as realsense-viewer.
Optional Development Packages¶
Install the ROS 2 Wrapper¶
This repository uses realsense2_camera from the ROS wrapper, so install it as well:
On Humble, the equivalent explicit form is:
Basic Validation¶
Reconnect the camera, then run:
Then verify the kernel module:
The output should include the realsense string.
Repository-Side Validation¶
This launch currently uses:
- namespace:
camera - camera name:
d435i - depth profile:
640x480x30 - color, depth, gyro, accel enabled
- point cloud enabled
- RViz enabled by default
Common Checks¶
-
realsense-viewer: command not foundlibrealsense2-utilsis usually missing. -
Package 'realsense2_camera' not foundThe ROS 2 wrapper has not been installed yet. -
modinfo uvcvideodoes not includerealsenselibrealsense2-dkmslikely did not activate correctly. Reinstall it, reconnect the camera, and reboot if needed.