Function rs2_convert_bag_to_db3
Defined in File rs_context.h
Function Documentation
-
void rs2_convert_bag_to_db3(const char *input_bag_path, const char *output_db3_path, const rs2_context *ctx, rs2_update_progress_callback_ptr callback, void *client_data, rs2_error **error)
Converts a legacy ROS1 .bag recording file to a ROS2 .db3 file.
- Parameters:
input_bag_path – [in] Path to the input .bag file
output_db3_path – [in] Path for the output .db3 file
ctx – [in] A RealSense context
callback – [in] Optional progress callback, receives a float in [0,1]
client_data – [in] User data passed to the callback
error – [out] If non-null, receives any error that occurs during this call, otherwise, errors are ignored