From b3ffe460cf78cc80d1433ffefc7cf0536244fbb4 Mon Sep 17 00:00:00 2001 From: Max SCHMELLER Date: Tue, 23 Jul 2024 16:48:43 +0900 Subject: [PATCH] fix(aeva): increase buffer size for packet replay as drops were observed --- nebula_ros/src/aeva/aeva_ros_wrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nebula_ros/src/aeva/aeva_ros_wrapper.cpp b/nebula_ros/src/aeva/aeva_ros_wrapper.cpp index b3fb6dc17..2f102d3df 100644 --- a/nebula_ros/src/aeva/aeva_ros_wrapper.cpp +++ b/nebula_ros/src/aeva/aeva_ros_wrapper.cpp @@ -96,7 +96,7 @@ AevaRosWrapper::AevaRosWrapper(const rclcpp::NodeOptions & options) // //////////////////////////////////////// auto packet_stream = std::make_shared(); auto packet_buffer = - std::make_shared(packet_stream, 100, [&]() { + std::make_shared(packet_stream, 1000, [&]() { RCLCPP_ERROR_THROTTLE( get_logger(), *get_clock(), 1000, "Packet stream buffer overflowed, packet loss occurred.");