Open From RosBag File Example

The following simple example allows streaming a rosbag file, saved by Intel RealSense Viewer, instead of streaming live with a camera. It can be used for testing and repetition of the same sequence.

ros2 launch realsense2_camera

By default, the '' launch file uses the "/rosbag/D435i_Depth_and_IMU_Stands_still.bag" rosbag file.

User can also override the launch file with a different rosbag path through cmd line as follows:

ros2 launch realsense2_camera rosbag_filename:="/full/path/to/rosbag/file"

Check-out sample-recordings for a few recorded samples.