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 rs_launch_from_rosbag.py

By default, the 'rs_launch_from_rosbag.py' 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 rs_launch.py rosbag_filename:="/full/path/to/rosbag/file"

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

1059