Skip to content

Commit

Permalink
Excludes /rviz and /tf publishers from ros bag
Browse files Browse the repository at this point in the history
  • Loading branch information
melayton committed Jun 26, 2024
1 parent c4d88ec commit 1b5f883
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rosplane/scripts/rosplane_gcs_launch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,9 @@ if $bag; then
fi

if [ ! -z $bag_name ]; then
tmux send-keys -t rosplane_sim_session:0.3 "ros2 bag record -a -o $bag_name" C-m
tmux send-keys -t rosplane_sim_session:0.3 "ros2 bag record -a -o $bag_name -e \'|\' -x \'(/rviz|/tf)\'" C-m
else
tmux send-keys -t rosplane_sim_session:0.3 "ros2 bag record -a" C-m
tmux send-keys -t rosplane_sim_session:0.3 "ros2 bag record -a -e \'|\' -x \'(/rviz|/tf)\'" C-m
fi
fi

Expand Down

0 comments on commit 1b5f883

Please sign in to comment.