Skip to content

Commit

Permalink
chore: exclude camera topics from rosbag
Browse files Browse the repository at this point in the history
  • Loading branch information
HansRobo committed Feb 26, 2025
1 parent 8029566 commit 19732f3
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 19732f3

Please sign in to comment.