From 19732f32845f47adc52dd5ea4c0daf8ede2601f1 Mon Sep 17 00:00:00 2001 From: Kotaro Yoshimoto Date: Wed, 26 Feb 2025 16:42:17 +0900 Subject: [PATCH] chore: exclude camera topics from rosbag --- .../src/openscenario_interpreter.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/openscenario/openscenario_interpreter/src/openscenario_interpreter.cpp b/openscenario/openscenario_interpreter/src/openscenario_interpreter.cpp index e76840d2d84..b2a8c54d9b8 100644 --- a/openscenario/openscenario_interpreter/src/openscenario_interpreter.cpp +++ b/openscenario/openscenario_interpreter/src/openscenario_interpreter.cpp @@ -262,10 +262,12 @@ auto Interpreter::on_activate(const rclcpp_lifecycle::State &) -> Result if (record) { if (record_storage_id == "") { record::start( - "-a", "-o", boost::filesystem::path(osc_path).replace_extension("").string()); + "-a", "--exclude", "/sensing/camera/.*", "-o", + boost::filesystem::path(osc_path).replace_extension("").string()); } else { record::start( - "-a", "-o", boost::filesystem::path(osc_path).replace_extension("").string(), "-s", + "-a", "--exclude", "/sensing/camera/.*", "-o", + boost::filesystem::path(osc_path).replace_extension("").string(), "-s", record_storage_id); } }