Skip to content

Cameras

Practical

Cameras are the most versatile sensors in robotics, providing rich visual information for object detection, navigation, manipulation, and human-robot interaction. Modern robotics uses various camera types, each with specific strengths.

Camera Types

RGB Cameras

Standard color cameras capturing 2D images.

Use cases: Object detection, tracking, visual inspection, HRI

Common sensors:

  • Machine vision: FLIR Blackfly, Basler ace
  • Consumer: Logitech Brio, Intel RealSense RGB
  • Industrial: Cognex, Keyence

Depth Cameras

Measure distance to each pixel, producing 3D data.

Technologies:

TypeHow it worksRangeBest for
StereoTwo cameras, triangulation0.5-10mOutdoor, long range
Structured lightProject IR pattern0.3-5mIndoor, high accuracy
Time-of-flight (ToF)Measure light travel time0.2-8mFast capture, low light

Popular sensors:

  • Intel RealSense D455/D456 (stereo, D456 is IP65-rated)
  • Orbbec Femto Bolt (ToF, Azure Kinect replacement)
  • Orbbec Femto Mega (ToF, Ethernet/USB)
  • ZED 2i (stereo, IP66, 0.2-20m range)

Event Cameras

Output pixel-level brightness changes asynchronously, not frames.

ProsCons
Microsecond latencyNo standard image format
>120dB dynamic rangeSpecialized algorithms needed
No motion blurMore expensive

Use cases: High-speed tracking, drone racing, low-light environments

Examples: Prophesee EVK4, iniVation DVS

Key Specifications

SpecDescriptionTypical Range
ResolutionPixels640×480 to 4K
Frame rateFPS30-120+
FoVField of view60°-170°
InterfaceConnection typeUSB, GigE, MIPI CSI
Global/rolling shutterCapture methodGlobal preferred for motion

Multi-Camera Systems

Stereo Pairs

Two cameras for 3D reconstruction via triangulation.

Left Camera Right Camera
│ │
└────────┬────────────┘
Disparity Map
Depth Image

Camera Arrays

Multiple cameras for:

  • 360° coverage (autonomous vehicles)
  • Multi-view reconstruction
  • Redundancy

RGB-D Systems

Combined RGB + depth (Intel RealSense, Orbbec Femto).

Jetson Camera Support

NVIDIA Jetson supports cameras via:

MIPI CSI-2 (direct connection):

  • Lowest latency
  • ISP processing on Jetson
  • Up to 6-12 cameras per Jetson

USB 3.0:

  • Plug-and-play
  • Higher latency
  • Compressed streams

GigE Vision:

  • Industrial standard
  • Long cable runs
  • Multiple cameras on network

Common Jetson Camera Modules

CameraResolutionFPSInterface
IMX219 (Pi Camera v2)8MP30CSI-2
IMX477 (HQ Camera)12MP40CSI-2
Leopard Imaging LI-IMX3902MP60CSI-2, HDR
FLIR Blackfly S5MP75USB/GigE
Intel RealSense D4551MP depth90USB

ROS 2 Integration

Standard message types:

  • sensor_msgs/Image — RGB images
  • sensor_msgs/CameraInfo — Calibration data
  • sensor_msgs/PointCloud2 — Depth as point cloud
Terminal window
# List camera topics
ros2 topic list | grep image
# View camera feed
ros2 run rqt_image_view rqt_image_view

Common Packages

PackagePurpose
usb_camUSB camera driver
realsense2_cameraIntel RealSense
zed_wrapperZED cameras
image_procBasic processing
cv_bridgeROS ↔ OpenCV conversion

NVIDIA Isaac Integration

Isaac ROS 3.2 provides GPU-accelerated image processing (compatible with ROS 2 Jazzy):

# GPU-accelerated packages:
# - isaac_ros_image_pipeline (resize, rectify, color convert)
# - isaac_ros_stereo_image_proc (disparity)
# - isaac_ros_depth_image_proc (depth processing)
# - isaac_ros_visual_slam (tracking)
# - isaac_ros_detectnet (detection)

Isaac Sim simulates cameras with:

  • Physically accurate rendering
  • Synthetic data generation
  • Ground truth labels

Camera Calibration

Essential for accurate 3D reconstruction and multi-camera systems.

Intrinsic Calibration

Camera’s internal parameters (focal length, distortion).

Terminal window
# ROS 2 camera calibration
ros2 run camera_calibration cameracalibrator \
--size 8x6 --square 0.025 \
image:=/camera/image_raw camera:=/camera

Extrinsic Calibration

Camera’s pose relative to robot or other sensors.

Stereo Calibration

Relative pose between stereo pair cameras.

Processing Pipeline

┌─────────────┐ ┌──────────────┐ ┌───────────────┐
│ Raw │ → │ Undistort │ → │ Rectify │
│ Image │ │ (intrinsic) │ │ (stereo) │
└─────────────┘ └──────────────┘ └───────────────┘
┌─────────────┐ ┌──────────────┐ ┌───────────────┐
│ Neural │ ← │ Resize │ ← │ Color │
│ Network │ │ │ │ Convert │
└─────────────┘ └──────────────┘ └───────────────┘

Sources