Skip to content

Commit

Permalink
Merge pull request #61 from rosflight/ros_bag_exclude
Browse files Browse the repository at this point in the history
Excludes /rviz and /tf publishers from ros bag
  • Loading branch information
iandareid authored Jun 28, 2024
2 parents b1df623 + 1b5f883 commit 91fe9fa
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 91fe9fa

Please sign in to comment.