Location: watod_scripts/watod-bag.sh:109
The script uses docker run -t (allocate TTY) but runs the container in background:
docker run --rm -t \
# ... other flags ...
"$INFRASTRUCTURE_IMAGE:$TAG" \
ros2 bag "${ros2_bag_args[@]}" &
wait $!
Issue: -t expects interactive terminal but container runs in background, causing potential issues with signal handling and output buffering.
Fix: Remove -t since container runs non-interactively:
docker run --rm \
--ulimit memlock=-1 \
# ... rest of flags
Impact: Can cause hang-ups during Ctrl+C or unexpected behavior with ROS2 bag recording output.