RealSense D435i
Ubuntu Installation
Install
librealsense2according to this official GitHub repositorymake sure install
librealsense2-devas well because it will provide cmake supportdo not use
ros-melodic-librealsense2library
Install
ddynamic_reconfigurebysudo apt install ros-melodic-ddynamic-reconfiguregit clone
realsense-rospackage to workspace and catkin_make
Notes for Jetson devices
For Jetson devices, there is no
librealsense2-dkmspackage available; only need to installlibrealsense2-utilsandlibrealsense2-dev. (installation_jetson)During building process,
cv_bridgeexpects/usr/include/opencvbut on Jetson systems it's under/usr/include/opencv4/opencv2. To resolve this, create a symbolic link to the directoriessudo 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/minLast updated
Was this helpful?