📖
Wiki
Back to my personal website
  • Home
  • Equipment and Devices
    • 3D Printer
    • Laser Cutter
    • Motion Capture System
    • Sensors
      • RGB-D Cameras
      • Velodyne LiDAR
      • Zed Camera
      • RealSense D435i
      • IMU
    • eGPU
    • Nvidia AGX Xavier
    • CPU Benchmark
    • Installation Checklist
  • Development
    • Linux
      • Shell
      • GDB
      • Git
      • Tmux
      • Network
      • Tricks
      • Debug FAQ
    • CMake
      • Catkin Tools
      • CMakeLists
      • CMake Variables
      • CMake Commands
      • CMake: find_package()
    • ROS
      • Gazebo
      • wstool
      • roslaunch
      • rosbag
      • multi-threaded spinner
    • ROS2
      • Convert ROS1 bag to ROS2 bag
    • C++
      • C++ 11
      • C++ Examples
      • C++ Debug
      • Factory Method
      • Timing
    • Google Tools
      • GLog
      • GFlags
      • GTest
      • Style Guide
      • Clang Format
    • PCL
      • Point Type
      • Methods
      • Architecture
      • Code Explained
    • Open3D
      • Python API
      • Registration
      • Visualization
      • Tools
    • OpenCV
      • Documentation
      • Modules
    • Other Libraries
      • Eigen
      • Ceres
      • g2o
      • GTSAM
    • Website
  • Algorithm
    • SLAM
      • K-D Tree
      • Octree
      • Bag of Words
      • Distance Measures
      • Coordinate Systems
      • LOAM
      • Iterative Closest Point
      • Generalized ICP
      • Mahalanobis Distance
    • Computer Science
      • Computational Model
      • Sorting
      • Analysis
      • Complexity Classes (P, NP)
      • Divide and Conquer
      • Greedy Algorithm
      • Dynamic Programming
      • Tree
      • Graph
    • Computer Vision
      • Camera Models
      • Distortion
      • Motion Models
      • Shutter
      • Image Sensors
      • Epipolar Geometry
      • Multiple-View Geometry
    • Datasets
      • RGB-D Datasets
      • Point Cloud Datasets
      • LiDAR SLAM Datasets
  • Math
    • Optimization
      • Convex Optimization
      • Descent Methods
    • Probability
      • Moment
      • Covariance Matrix
      • Stochastic Process
    • Topology
      • References
      • Concepts
      • Topological Spaces
      • Representation of Rotations
      • Representation of 3-sphere
    • Algebra
      • Linear Algebra
      • Matrix Factorization
      • Condition Number
      • Matrix Lie Group
    • Differential Geometry
      • Manifold
      • Submanifold
      • Quotient Manifolds
      • Tangent Space
  • Quadrotor
    • PX4 Development
    • Companion Computer
    • Drone Hardware
    • Propeller Lock
    • Debug
  • Favorites
    • Bookmarks
Powered by GitBook
On this page
  • Ubuntu Installation
  • Collect rosbag

Was this helpful?

  1. Equipment and Devices
  2. Sensors

RealSense D435i

PreviousZed CameraNextIMU

Last updated 1 year ago

Was this helpful?

Ubuntu Installation

  • Install librealsense2 according to

    • make sure install librealsense2-dev as well because it will provide cmake support

    • do not use ros-melodic-librealsense2 library

  • Install ddynamic_reconfigure by sudo apt install ros-melodic-ddynamic-reconfigure

  • git clone to workspace and catkin_make

Notes for Jetson devices

  • For Jetson devices, there is no librealsense2-dkms package available; only need to install librealsense2-utils and librealsense2-dev. ()

  • During building process, cv_bridge expects /usr/include/opencv but on Jetson systems it's under /usr/include/opencv4/opencv2. To resolve this, create a symbolic link to the directories sudo ln -s /usr/include/opencv4/ /usr/include/opencv .

Collect rosbag

roslaunch realsense2_camera rs_camera.launch filters:=pointcloud
rosbag record \
    /tf \
    /tf_static \
    /camera/color/camera_info \
    /camera/color/image_raw \
    /camera/depth/camera_info \
    /camera/depth/image_rect_raw \
    /camera/extrinsics/depth_to_color \
    /camera/depth/color/points  # this topic enabled by filters:=pointcloud
# rosbag size: 4GB/min
this official GitHub repository
realsense-ros package
installation_jetson