diff --git a/realsense2_camera/src/profile_manager.cpp b/realsense2_camera/src/profile_manager.cpp index 3e155d29e5..be1598a5f8 100644 --- a/realsense2_camera/src/profile_manager.cpp +++ b/realsense2_camera/src/profile_manager.cpp @@ -141,9 +141,6 @@ std::map ProfilesManager::getDefaultProf rs2::stream_profile VideoProfilesManager::validateAndGetSuitableProfile(rs2_stream stream_type, rs2::stream_profile given_profile) { - if (_all_profiles.empty()) - throw std::runtime_error("Wrong commands sequence. No profiles set."); - rs2::stream_profile suitable_profile = given_profile; bool is_given_profile_suitable = false;