Skip to content

Commit 0dad622

Browse files
committed
Reduce read ahead queue size causing missed tf calls and therefore skipping initial position estimates
1 parent 8b5ae2d commit 0dad622

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/entrypoints/entrypoint_play_bag.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ fi
4747
TOPICS=("${TOPICS[@]}" "/tf_static" "/vectornav/data_raw" "/xsens/data_raw" "/warthog/platform/odom")
4848

4949

50-
ROSBAG_PLAY_COMMAND="ros2 bag play ${BAG_FILES_TO_PLAY} --clock -r${ROSBAG_PLAY_RATE} --read-ahead-queue-size 100000 -s mcap"
50+
ROSBAG_PLAY_COMMAND="ros2 bag play ${BAG_FILES_TO_PLAY} --clock -r${ROSBAG_PLAY_RATE} --read-ahead-queue-size 100 -s mcap"
5151
# if TOPICS is not empty, play only the topics in TOPICS
5252
if [ -n "$TOPICS" ]; then
5353
echo "Playing only the topics in TOPICS..."

0 commit comments

Comments
 (0)